[216] | 1 | /* include/ode/config.h.in. Generated from configure.in by autoheader. */ |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | #ifndef ODE_CONFIG_H |
---|
| 5 | #define ODE_CONFIG_H |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP |
---|
| 9 | systems. This function is required for `alloca.c' support on those systems. |
---|
| 10 | */ |
---|
| 11 | #undef CRAY_STACKSEG_END |
---|
| 12 | |
---|
| 13 | /* Define to 1 if using `alloca.c'. */ |
---|
| 14 | #undef C_ALLOCA |
---|
| 15 | |
---|
| 16 | /* Define to 1 if you have `alloca', as a function or macro. */ |
---|
| 17 | #undef HAVE_ALLOCA |
---|
| 18 | |
---|
| 19 | /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). |
---|
| 20 | */ |
---|
| 21 | #undef HAVE_ALLOCA_H |
---|
| 22 | |
---|
| 23 | /* Use the Apple OpenGL framework. */ |
---|
| 24 | #undef HAVE_APPLE_OPENGL_FRAMEWORK |
---|
| 25 | |
---|
| 26 | /* Define to 1 if you have the `atan2f' function. */ |
---|
| 27 | #undef HAVE_ATAN2F |
---|
| 28 | |
---|
| 29 | /* Define to 1 if you have the `copysign' function. */ |
---|
| 30 | #undef HAVE_COPYSIGN |
---|
| 31 | |
---|
| 32 | /* Define to 1 if you have the `copysignf' function. */ |
---|
| 33 | #undef HAVE_COPYSIGNF |
---|
| 34 | |
---|
| 35 | /* Define to 1 if you have the `cosf' function. */ |
---|
| 36 | #undef HAVE_COSF |
---|
| 37 | |
---|
| 38 | /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ |
---|
| 39 | #undef HAVE_DOPRNT |
---|
| 40 | |
---|
| 41 | /* Define to 1 if you have the `fabsf' function. */ |
---|
| 42 | #undef HAVE_FABSF |
---|
| 43 | |
---|
| 44 | /* Define to 1 if you have the <float.h> header file. */ |
---|
| 45 | #undef HAVE_FLOAT_H |
---|
| 46 | |
---|
| 47 | /* Define to 1 if you have the `floor' function. */ |
---|
| 48 | #undef HAVE_FLOOR |
---|
| 49 | |
---|
| 50 | /* Define to 1 if you have the `fmodf' function. */ |
---|
| 51 | #undef HAVE_FMODF |
---|
| 52 | |
---|
| 53 | /* Define to 1 if you have the `gettimeofday' function. */ |
---|
| 54 | #undef HAVE_GETTIMEOFDAY |
---|
| 55 | |
---|
| 56 | /* Define to 1 if you have the <GL/glext.h> header file. */ |
---|
| 57 | #undef HAVE_GL_GLEXT_H |
---|
| 58 | |
---|
| 59 | /* Define to 1 if you have the <GL/glu.h> header file. */ |
---|
| 60 | #undef HAVE_GL_GLU_H |
---|
| 61 | |
---|
| 62 | /* Define to 1 if you have the <GL/gl.h> header file. */ |
---|
| 63 | #undef HAVE_GL_GL_H |
---|
| 64 | |
---|
| 65 | /* Define to 1 if you have the <ieeefp.h> header file. */ |
---|
| 66 | #undef HAVE_IEEEFP_H |
---|
| 67 | |
---|
| 68 | /* Define to 1 if you have the <inttypes.h> header file. */ |
---|
| 69 | #undef HAVE_INTTYPES_H |
---|
| 70 | |
---|
| 71 | /* Define to 1 if you have the `isnan' function. */ |
---|
| 72 | #undef HAVE_ISNAN |
---|
| 73 | |
---|
| 74 | /* Define to 1 if you have the `isnanf' function. */ |
---|
| 75 | #undef HAVE_ISNANF |
---|
| 76 | |
---|
| 77 | /* Define to 1 if your system has a GNU libc compatible `malloc' function, and |
---|
| 78 | to 0 otherwise. */ |
---|
| 79 | #undef HAVE_MALLOC |
---|
| 80 | |
---|
| 81 | /* Define to 1 if you have the <malloc.h> header file. */ |
---|
| 82 | #undef HAVE_MALLOC_H |
---|
| 83 | |
---|
| 84 | /* Define to 1 if you have the <math.h> header file. */ |
---|
| 85 | #undef HAVE_MATH_H |
---|
| 86 | |
---|
| 87 | /* Define to 1 if you have the `memmove' function. */ |
---|
| 88 | #undef HAVE_MEMMOVE |
---|
| 89 | |
---|
| 90 | /* Define to 1 if you have the <memory.h> header file. */ |
---|
| 91 | #undef HAVE_MEMORY_H |
---|
| 92 | |
---|
| 93 | /* Define to 1 if you have the `memset' function. */ |
---|
| 94 | #undef HAVE_MEMSET |
---|
| 95 | |
---|
| 96 | /* Define to 1 if libc includes obstacks. */ |
---|
| 97 | #undef HAVE_OBSTACK |
---|
| 98 | |
---|
| 99 | /* Define to 1 if your system has a GNU libc compatible `realloc' function, |
---|
| 100 | and to 0 otherwise. */ |
---|
| 101 | #undef HAVE_REALLOC |
---|
| 102 | |
---|
| 103 | /* Define to 1 if you have the `select' function. */ |
---|
| 104 | #undef HAVE_SELECT |
---|
| 105 | |
---|
| 106 | /* Define to 1 if you have the `sinf' function. */ |
---|
| 107 | #undef HAVE_SINF |
---|
| 108 | |
---|
| 109 | /* Define to 1 if you have the `snprintf' function. */ |
---|
| 110 | #undef HAVE_SNPRINTF |
---|
| 111 | |
---|
| 112 | /* Define to 1 if you have the `sqrt' function. */ |
---|
| 113 | #undef HAVE_SQRT |
---|
| 114 | |
---|
| 115 | /* Define to 1 if you have the `sqrtf' function. */ |
---|
| 116 | #undef HAVE_SQRTF |
---|
| 117 | |
---|
| 118 | /* Use SSE Optimizations */ |
---|
| 119 | #undef HAVE_SSE |
---|
| 120 | |
---|
| 121 | /* Define to 1 if you have the <stdarg.h> header file. */ |
---|
| 122 | #undef HAVE_STDARG_H |
---|
| 123 | |
---|
| 124 | /* Define to 1 if stdbool.h conforms to C99. */ |
---|
| 125 | #undef HAVE_STDBOOL_H |
---|
| 126 | |
---|
| 127 | /* Define to 1 if you have the <stdint.h> header file. */ |
---|
| 128 | #undef HAVE_STDINT_H |
---|
| 129 | |
---|
| 130 | /* Define to 1 if you have the <stdio.h> header file. */ |
---|
| 131 | #undef HAVE_STDIO_H |
---|
| 132 | |
---|
| 133 | /* Define to 1 if you have the <stdlib.h> header file. */ |
---|
| 134 | #undef HAVE_STDLIB_H |
---|
| 135 | |
---|
| 136 | /* Define to 1 if you have the <strings.h> header file. */ |
---|
| 137 | #undef HAVE_STRINGS_H |
---|
| 138 | |
---|
| 139 | /* Define to 1 if you have the <string.h> header file. */ |
---|
| 140 | #undef HAVE_STRING_H |
---|
| 141 | |
---|
| 142 | /* Define to 1 if you have the <sys/select.h> header file. */ |
---|
| 143 | #undef HAVE_SYS_SELECT_H |
---|
| 144 | |
---|
| 145 | /* Define to 1 if you have the <sys/socket.h> header file. */ |
---|
| 146 | #undef HAVE_SYS_SOCKET_H |
---|
| 147 | |
---|
| 148 | /* Define to 1 if you have the <sys/stat.h> header file. */ |
---|
| 149 | #undef HAVE_SYS_STAT_H |
---|
| 150 | |
---|
| 151 | /* Define to 1 if you have the <sys/time.h> header file. */ |
---|
| 152 | #undef HAVE_SYS_TIME_H |
---|
| 153 | |
---|
| 154 | /* Define to 1 if you have the <sys/types.h> header file. */ |
---|
| 155 | #undef HAVE_SYS_TYPES_H |
---|
| 156 | |
---|
| 157 | /* Define to 1 if you have the <time.h> header file. */ |
---|
| 158 | #undef HAVE_TIME_H |
---|
| 159 | |
---|
| 160 | /* Define to 1 if you have the <unistd.h> header file. */ |
---|
| 161 | #undef HAVE_UNISTD_H |
---|
| 162 | |
---|
| 163 | /* Define to 1 if you have the <values.h> header file. */ |
---|
| 164 | #undef HAVE_VALUES_H |
---|
| 165 | |
---|
| 166 | /* Define to 1 if you have the `vprintf' function. */ |
---|
| 167 | #undef HAVE_VPRINTF |
---|
| 168 | |
---|
| 169 | /* Define to 1 if you have the `vsnprintf' function. */ |
---|
| 170 | #undef HAVE_VSNPRINTF |
---|
| 171 | |
---|
| 172 | /* Define to 1 if the system has the type `_Bool'. */ |
---|
| 173 | #undef HAVE__BOOL |
---|
| 174 | |
---|
| 175 | /* Define to 1 if you have the `_isnan' function. */ |
---|
| 176 | #undef HAVE__ISNAN |
---|
| 177 | |
---|
| 178 | /* Define to 1 if you have the `_isnanf' function. */ |
---|
| 179 | #undef HAVE__ISNANF |
---|
| 180 | |
---|
| 181 | /* Define to 1 if you have the `__isnan' function. */ |
---|
| 182 | #undef HAVE___ISNAN |
---|
| 183 | |
---|
| 184 | /* Define to 1 if you have the `__isnanf' function. */ |
---|
| 185 | #undef HAVE___ISNANF |
---|
| 186 | |
---|
| 187 | /* Name of package */ |
---|
| 188 | #undef PACKAGE |
---|
| 189 | |
---|
| 190 | /* Define to the address where bug reports for this package should be sent. */ |
---|
| 191 | #undef PACKAGE_BUGREPORT |
---|
| 192 | |
---|
| 193 | /* Define to the full name of this package. */ |
---|
| 194 | #undef PACKAGE_NAME |
---|
| 195 | |
---|
| 196 | /* Define to the full name and version of this package. */ |
---|
| 197 | #undef PACKAGE_STRING |
---|
| 198 | |
---|
| 199 | /* Define to the one symbol short name of this package. */ |
---|
| 200 | #undef PACKAGE_TARNAME |
---|
| 201 | |
---|
| 202 | /* Define to the version of this package. */ |
---|
| 203 | #undef PACKAGE_VERSION |
---|
| 204 | |
---|
| 205 | /* is this a pentium on a gcc-based platform? */ |
---|
| 206 | #undef PENTIUM |
---|
| 207 | |
---|
| 208 | /* Define to the type of arg 1 for `select'. */ |
---|
| 209 | #undef SELECT_TYPE_ARG1 |
---|
| 210 | |
---|
| 211 | /* Define to the type of args 2, 3 and 4 for `select'. */ |
---|
| 212 | #undef SELECT_TYPE_ARG234 |
---|
| 213 | |
---|
| 214 | /* Define to the type of arg 5 for `select'. */ |
---|
| 215 | #undef SELECT_TYPE_ARG5 |
---|
| 216 | |
---|
| 217 | /* The size of `char', as computed by sizeof. */ |
---|
| 218 | #undef SIZEOF_CHAR |
---|
| 219 | |
---|
| 220 | /* The size of `int', as computed by sizeof. */ |
---|
| 221 | #undef SIZEOF_INT |
---|
| 222 | |
---|
| 223 | /* The size of `long int', as computed by sizeof. */ |
---|
| 224 | #undef SIZEOF_LONG_INT |
---|
| 225 | |
---|
| 226 | /* The size of `short', as computed by sizeof. */ |
---|
| 227 | #undef SIZEOF_SHORT |
---|
| 228 | |
---|
| 229 | /* The size of `void*', as computed by sizeof. */ |
---|
| 230 | #undef SIZEOF_VOIDP |
---|
| 231 | |
---|
| 232 | /* The extension for shared libraries. */ |
---|
| 233 | #undef SO_EXT |
---|
| 234 | |
---|
| 235 | /* If using the C implementation of alloca, define if you know the |
---|
| 236 | direction of stack growth for your system; otherwise it will be |
---|
| 237 | automatically deduced at runtime. |
---|
| 238 | STACK_DIRECTION > 0 => grows toward higher addresses |
---|
| 239 | STACK_DIRECTION < 0 => grows toward lower addresses |
---|
| 240 | STACK_DIRECTION = 0 => direction of growth unknown */ |
---|
| 241 | #undef STACK_DIRECTION |
---|
| 242 | |
---|
| 243 | /* Define to 1 if you have the ANSI C header files. */ |
---|
| 244 | #undef STDC_HEADERS |
---|
| 245 | |
---|
| 246 | /* Version number of package */ |
---|
| 247 | #undef VERSION |
---|
| 248 | |
---|
| 249 | /* Define to 1 if your processor stores words with the most significant byte |
---|
| 250 | first (like Motorola and SPARC, unlike Intel and VAX). */ |
---|
| 251 | #undef WORDS_BIGENDIAN |
---|
| 252 | |
---|
| 253 | /* is this a X86_64 system on a gcc-based platform? */ |
---|
| 254 | #undef X86_64_SYSTEM |
---|
| 255 | |
---|
| 256 | /* Define to 1 if the X Window System is missing or not being used. */ |
---|
| 257 | #undef X_DISPLAY_MISSING |
---|
| 258 | |
---|
| 259 | /* Define to empty if `const' does not conform to ANSI C. */ |
---|
| 260 | #undef const |
---|
| 261 | |
---|
| 262 | /* Use double precision */ |
---|
| 263 | #undef dDOUBLE |
---|
| 264 | |
---|
| 265 | /* dEpsilon Constant */ |
---|
| 266 | #undef dEpsilon |
---|
| 267 | |
---|
| 268 | /* Use gyroscopic terms */ |
---|
| 269 | #undef dGYROSCOPIC |
---|
| 270 | |
---|
| 271 | /* dInfinity Constant */ |
---|
| 272 | #undef dInfinity |
---|
| 273 | |
---|
| 274 | /* Disable debug output */ |
---|
| 275 | #undef dNODEBUG |
---|
| 276 | |
---|
| 277 | /* Use single precision */ |
---|
| 278 | #undef dSINGLE |
---|
| 279 | |
---|
| 280 | /* Define to `__inline__' or `__inline' if that's what the C compiler |
---|
| 281 | calls it, or to nothing if 'inline' is not supported under any name. */ |
---|
| 282 | #ifndef __cplusplus |
---|
| 283 | #undef inline |
---|
| 284 | #endif |
---|
| 285 | |
---|
| 286 | /* Define to rpl_malloc if the replacement function should be used. */ |
---|
| 287 | #undef malloc |
---|
| 288 | |
---|
| 289 | /* Define to rpl_realloc if the replacement function should be used. */ |
---|
| 290 | #undef realloc |
---|
| 291 | |
---|
| 292 | /* Define to `unsigned int' if <sys/types.h> does not define. */ |
---|
| 293 | #undef size_t |
---|
| 294 | |
---|
| 295 | /* Define to empty if the keyword `volatile' does not work. Warning: valid |
---|
| 296 | code using `volatile' can become incorrect without. Disable with care. */ |
---|
| 297 | #undef volatile |
---|
| 298 | |
---|
| 299 | |
---|
| 300 | |
---|
| 301 | #ifdef HAVE_ALLOCA_H |
---|
| 302 | #include <alloca.h> |
---|
| 303 | #endif |
---|
| 304 | #if defined(HAVE_IEEEFP_H) && !defined(__CYGWIN__) |
---|
| 305 | // This header creates conflicts with math.h in Cygwin. |
---|
| 306 | #include <ieeefp.h> |
---|
| 307 | #endif |
---|
| 308 | #ifdef HAVE_STDIO_H |
---|
| 309 | #include <stdio.h> |
---|
| 310 | #endif |
---|
| 311 | #ifdef HAVE_STDLIB_H |
---|
| 312 | #include <stdlib.h> |
---|
| 313 | #endif |
---|
| 314 | #ifdef HAVE_MATH_H |
---|
| 315 | #include <math.h> |
---|
| 316 | #endif |
---|
| 317 | #ifdef HAVE_STRING_H |
---|
| 318 | #include <string.h> |
---|
| 319 | #endif |
---|
| 320 | #ifdef HAVE_STDARG_H |
---|
| 321 | #include <stdarg.h> |
---|
| 322 | #endif |
---|
| 323 | #ifdef HAVE_MALLOC_H |
---|
| 324 | #include <malloc.h> |
---|
| 325 | #endif |
---|
| 326 | #ifdef HAVE_VALUES_H |
---|
| 327 | #include <values.h> |
---|
| 328 | #endif |
---|
| 329 | #ifdef HAVE_FLOAT_H |
---|
| 330 | #include <float.h> |
---|
| 331 | #endif |
---|
| 332 | #if SIZEOF_CHAR == 1 |
---|
| 333 | typedef char int8; |
---|
| 334 | typedef unsigned char uint8; |
---|
| 335 | #else |
---|
| 336 | #error "expecting sizeof(char) == 1" |
---|
| 337 | #endif |
---|
| 338 | #if SIZEOF_SHORT == 2 |
---|
| 339 | typedef short int16; |
---|
| 340 | typedef unsigned short uint16; |
---|
| 341 | #else |
---|
| 342 | #error "can not find 2 byte integer type" |
---|
| 343 | #endif |
---|
| 344 | /* integer types (we assume int >= 32 bits) */ |
---|
| 345 | #if SIZEOF_INT == 4 |
---|
| 346 | typedef short int32; |
---|
| 347 | typedef unsigned short uint32; |
---|
| 348 | #else |
---|
| 349 | #error "can not find 4 byte integer type" |
---|
| 350 | #endif |
---|
| 351 | /* an integer type that we can safely cast a pointer to and |
---|
| 352 | * from without loss of bits. |
---|
| 353 | */ |
---|
| 354 | #if SIZEOF_SHORT == SIZEOF_VOIDP |
---|
| 355 | typedef unsigned short intP; |
---|
| 356 | #elif SIZEOF_INT == SIZEOF_VOIDP |
---|
| 357 | typedef unsigned int intP; |
---|
| 358 | #elif SIZEOF_LONG_INT == SIZEOF_VOIDP |
---|
| 359 | typedef unsigned long int intP; |
---|
| 360 | #endif |
---|
| 361 | |
---|
| 362 | /* |
---|
| 363 | Handle Windows DLL odities |
---|
| 364 | Its easier to export all symbols using the -shared flag |
---|
| 365 | for MinGW than differentiating with declspec, |
---|
| 366 | so only do it for MSVC |
---|
| 367 | */ |
---|
| 368 | #if defined(ODE_DLL) && defined(WIN32) && defined(_MSC_VER) |
---|
| 369 | #define ODE_API __declspec( dllexport ) |
---|
| 370 | #elif !defined(ODE_DLL) && defined(WIN32) && defined(MSC_VER) |
---|
| 371 | #define ODE_API __declspec( dllimport ) |
---|
| 372 | #else |
---|
| 373 | #define ODE_API |
---|
| 374 | #endif |
---|
| 375 | |
---|
| 376 | #endif /* #define ODE_CONFIG_H */ |
---|
| 377 | |
---|