forked from ossimlabs/ossim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathossimConfig.h.in
121 lines (99 loc) · 3.02 KB
/
ossimConfig.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* $Id: ossimConfig.h.in 13607 2008-09-25 19:39:45Z gpotts $ */
#ifndef ossimConfig_HEADER
#define ossimConfig_HEADER
/* Define to "1" if you have libz installed, "0" if not. */
#define OSSIM_HAS_LIBZ @OSSIM_HAS_LIBZ@
/* Define to "1" if you have MPI(lam/mpi), "0" if not. */
#define OSSIM_HAS_MPI @OSSIM_HAS_MPI@
/* Define to "1" if you have FREETYPE, "0" if not. */
#define OSSIM_HAS_FREETYPE @OSSIM_HAS_FREETYPE@
/* Define to "1" if you have GEOTIFF, "0" if not. */
#define OSSIM_HAS_GEOTIFF @OSSIM_HAS_GEOTIFF@
/* Define to "1" if you have HDF5 installed, "0" if not. */
#define OSSIM_HAS_HDF5 @OSSIM_HAS_HDF5@
/* Enable cvs id strings for use with "ident" application. */
#define OSSIM_ID_ENABLED @OSSIM_ID_ENABLED@
/* The sizes of various standard integer types. */
@SIZE_OF_SHORT_INT_CODE@
@SIZE_OF_INT_CODE@
@SIZE_OF_LONG_CODE@
@SIZE_OF_LONG_LONG_CODE@
@SIZE_OF_UNSIGNED_SHORT_INT_CODE@
@SIZE_OF_UNSIGNED_INT_CODE@
@SIZE_OF_UNSIGNED_LONG_CODE@
@SIZE_OF_UNSIGNED_LONG_LONG_CODE@
@SIZE_OF_DOUBLE_CODE@
@SIZE_OF_FLOAT_CODE@
@SIZE_OF_LONG_DOUBLE_CODE@
typedef char ossim_int8;
typedef unsigned char ossim_uint8;
typedef signed char ossim_sint8;
#if SIZE_OF_SHORT_INT == 2
typedef short ossim_int16;
typedef signed short ossim_sint16;
typedef unsigned short ossim_uint16;
#define OSSIM_HAVE_INT16_T
#define OSSIM_HAVE_UINT16_T
#elif SIZE_OF_INT == 2
typedef int ossim_int16;
typedef signed int ossim_sint16;
typedef unsigned int ossim_uint16;
#define OSSIM_HAVE_INT16_T
#endif
#if SIZE_OF_INT == 4
typedef int ossim_int32;
typedef signed int ossim_sint32;
typedef unsigned int ossim_uint32;
#define OSSIM_HAVE_INT32_T
#define OSSIM_HAVE_UINT32_T
#elif SIZE_OF_LONG == 4
typedef long ossim_int32;
typedef signed long ossim_sint32;
typedef unsigned long ossim_uint32;
#define OSSIM_HAVE_INT32_T
#define OSSIM_HAVE_UINT32_T
#endif
#if !defined(OSSIM_HAVE_INT32_T)
#error No 32-bit integer type was found.
#endif
#if SIZE_OF_LONG_LONG == 8
typedef long long ossim_int64;
typedef unsigned long long ossim_uint64;
typedef signed long long ossim_sint64;
#define OSSIM_HAVE_INT64_T
#define OSSIM_HAVE_UINT64_T
#elif SIZE_OF_INT == 8
typedef int ossim_int64;
typedef signed int ossim_sint64;
typedef unsigned int ossim_uint64;
#define OSSIM_HAVE_INT64_T
#define OSSIM_HAVE_UINT64_T
#elif SIZE_OF_LONG == 8
typedef long ossim_int64;
typedef unsigned long ossim_uint64;
typedef signed long ossim_sint64;
#define OSSIM_HAVE_INT64_T
#define OSSIM_HAVE_UINT64_T
#endif
#if !defined(OSSIM_HAVE_INT64_T)
#error No 64-bit integer type was found.
#endif
#if SIZE_OF_DOUBLE == 8
typedef double ossim_float64;
#define OSSIM_HAVE_FLOAT64_T
#endif
#if !defined(OSSIM_HAVE_FLOAT64_T)
#error No 64-bit integer type was found.
#endif
#if SIZE_OF_FLOAT == 4
typedef float ossim_float32;
#define OSSIM_HAVE_FLOAT32_T
#endif
#if !defined(OSSIM_HAVE_FLOAT32_T)
#error No 64-bit integer type was found.
#endif
#if SIZE_OF_LONG_DOUBLE == 16
typedef float ossim_float128;
#define OSSIM_HAVE_FLOAT128_T
#endif
#endif /* End of "#ifndef ossimConfig_HEADER" */