]> Creatis software - gdcm.git/blob - src/gdcmjasper/src/libjasper/include/jasper/jas_config.h.in
ef0b7e3306b6239cf7b3aaf53a1df99f6ae5bb7b
[gdcm.git] / src / gdcmjasper / src / libjasper / include / jasper / jas_config.h.in
1 /* src/libjasper/include/jasper/jas_config.h.in.  Template for cmake.  */
2
3
4 /* Avoid problems due to multiple inclusion. */
5 #ifndef JAS_CONFIG_H
6 #define JAS_CONFIG_H
7
8 #if 0
9 /* Extra debugging support */
10 #undef DEBUG
11
12 /* Debugging memory allocator */
13 #undef DEBUG_MEMALLOC
14
15 /* Debugging overflow detection */
16 #undef DEBUG_OVERFLOW
17 #endif
18
19 #if defined(_MSC_VER) && _MSC_VER < 1300
20 #  pragma warning ( disable : 4761 ) /* integral size mismatch in argument; conversion supplied */
21 #endif
22
23 /* Define to 1 if you have the <dlfcn.h> header file. */
24 #cmakedefine HAVE_DLFCN_H
25
26 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
27 /* #undef HAVE_DOPRNT */
28
29 /* Define to 1 if you have the <fcntl.h> header file. */
30 #cmakedefine HAVE_FCNTL_H
31
32 /* Define to 1 if you have the <inttypes.h> header file. */
33 #cmakedefine HAVE_INTTYPES_H
34
35 /* Define to 1 if you have the <io.h> header file. */
36 #cmakedefine HAVE_IO_H
37
38 /* Define to 1 if you have the `m' library (-lm). */
39 /* #define HAVE_LIBM 1 */
40
41 /* Define to 1 if you have the <limits.h> header file. */
42 #cmakedefine HAVE_LIMITS_H
43
44 /* Define to 1 if you have the <memory.h> header file. */
45 #cmakedefine HAVE_MEMORY_H
46
47 /* Define to 1 if you have the <stdbool.h> header file. */
48 #cmakedefine HAVE_STDBOOL_H
49
50 /* Define to 1 if you have the <stddef.h> header file. */
51 #cmakedefine HAVE_STDDEF_H
52
53 /* Define to 1 if you have the <stdint.h> header file. */
54 #cmakedefine HAVE_STDINT_H
55
56 /* Define to 1 if you have the <stdlib.h> header file. */
57 #cmakedefine HAVE_STDLIB_H
58
59 /* Define to 1 if you have the <strings.h> header file. */
60 #cmakedefine HAVE_STRINGS_H
61
62 /* Define to 1 if you have the <string.h> header file. */
63 #cmakedefine HAVE_STRING_H
64
65 /* Define to 1 if you have the <sys/stat.h> header file. */
66 #cmakedefine HAVE_SYS_STAT_H
67
68 /* Define to 1 if you have the <sys/types.h> header file. */
69 #cmakedefine HAVE_SYS_TYPES_H
70
71 /* Define to 1 if you have the <unistd.h> header file. */
72 #cmakedefine HAVE_UNISTD_H
73
74 /* Have variable length arrays */
75 /* #define HAVE_VLA 1 */
76
77 /* Define to 1 if you have the `vprintf' function. */
78 /* #define HAVE_VPRINTF 1 */
79
80 /* Define to 1 if you have the <windows.h> header file. */
81 #cmakedefine HAVE_WINDOWS_H
82
83 /* JasPer configure */
84 #define JAS_CONFIGURE 1
85
86 /* JasPer version */
87 #define JAS_VERSION "@JAS_VERSION@"
88
89 /* Name of package */
90 #define PACKAGE "jasper"
91
92 /* Define to the address where bug reports for this package should be sent. */
93 #define PACKAGE_BUGREPORT ""
94
95 /* Define to the full name of this package. */
96 #define PACKAGE_NAME "jasper"
97
98 /* Define to the full name and version of this package. */
99 #define PACKAGE_STRING "jasper @JAS_VERSION@"
100
101 /* Define to the one symbol short name of this package. */
102 #define PACKAGE_TARNAME "jasper"
103
104 /* Define to the version of this package. */
105 #define PACKAGE_VERSION "@JAS_VERSION@"
106
107 /* Size of fundamental data types.  */
108 /* The size of a `int', as computed by sizeof. */
109 #define SIZEOF_INT    @GDCM_SIZEOF_INT@
110
111 /* The size of a `long', as computed by sizeof. */
112 #define SIZEOF_LONG   @GDCM_SIZEOF_LONG@
113
114 /* The size of a `short', as computed by sizeof. */
115 #define SIZEOF_SHORT  @GDCM_SIZEOF_SHORT@
116
117 /* The size of a `char', as computed by sizeof. */
118 #define SIZEOF_CHAR   @GDCM_SIZEOF_CHAR@
119
120 /* The size of a `double', as computed by sizeof. */
121 #define SIZEOF_DOUBLE @GDCM_SIZEOF_DOUBLE@
122
123 /* The size of a `float', as computed by sizeof. */
124 #define SIZEOF_FLOAT  @GDCM_SIZEOF_FLOAT@
125
126 /* Could someone give me an example of plateform that have 
127  * different size for unsigned types ?? */
128 /* The size of a `unsigned int', as computed by sizeof. */
129 #define SIZEOF_UNSIGNED_INT @GDCM_SIZEOF_INT@
130
131 /* The size of a `unsigned long', as computed by sizeof. */
132 #define SIZEOF_UNSIGNED_LONG @GDCM_SIZEOF_LONG@
133
134 /* The size of a `unsigned short', as computed by sizeof. */
135 #define SIZEOF_UNSIGNED_SHORT @GDCM_SIZEOF_SHORT@
136
137
138 /* Define size of long long and/or __int64 bit integer type only if the type
139    exists.  */
140 /* The size of a `long long', as computed by sizeof. */
141 #cmakedefine GDCM_SIZEOF_LONG_LONG @GDCM_SIZEOF_LONG_LONG@
142 #cmakedefine GDCM_SIZEOF___INT64   @GDCM_SIZEOF___INT64@
143
144 /* The size of a `unsigned long long', as computed by sizeof. */
145 #define SIZEOF_UNSIGNED_LONG_LONG @GDCM_SIZEOF_LONG_LONG@
146
147
148
149 #if 0
150 /* Define to 1 if you have the ANSI C header files. */
151 #define STDC_HEADERS 1
152 #endif
153
154 /* Version number of package */
155 #define VERSION "1.701.0"
156
157 /* Define to 1 if your processor stores words with the most significant byte
158    first (like Motorola and SPARC, unlike Intel and VAX). */
159 #cmakedefine WORDS_BIGENDIAN
160
161 /* Define to 1 if the X Window System is missing or not being used. */
162 /*#define X_DISPLAY_MISSING 1 */
163
164 /* Define to empty if `const' does not conform to ANSI C. */
165 /* #undef const */
166
167 /* Define as `__inline' if that's what the C compiler calls it, or to nothing
168    if it is not supported. */
169 /* #undef inline */
170
171 /* Whether types "long long" and "__int64" are enabled.  If a type is
172    enabled then it is a unique fundamental type.  */
173 #cmakedefine GDCM_TYPE_USE_LONG_LONG
174 #cmakedefine GDCM_TYPE_USE___INT64
175
176 /* Some properties of the available types.  */
177 #cmakedefine GDCM_TYPE_SAME_LONG_AND___INT64
178 #cmakedefine GDCM_TYPE_SAME_LONG_LONG_AND___INT64
179 #cmakedefine GDCM_TYPE_CONVERT_UI64_TO_DOUBLE
180
181
182 /* On win32 there is no long long therefore use __int64 instead */
183
184 #ifndef HAVE_SYS_TYPES_H
185 typedef unsigned short     ushort;
186 typedef unsigned int       uint;
187 typedef unsigned long      ulong;
188 #ifdef GDCM_TYPE_USE___INT64
189 typedef unsigned char      uchar;
190 typedef unsigned __int64   ulonglong;
191 typedef __int64            longlong;
192 #else
193 #error this is not supposed to happen please report your compiler
194 #endif /*GDCM_TYPE_USE___INT64*/
195 #else
196 #cmakedefine HAVE_GDCM_SIZEOF_UINT
197 #cmakedefine HAVE_GDCM_SIZEOF_USHORT
198 #cmakedefine HAVE_GDCM_SIZEOF_ULONG
199
200 #ifdef GDCM_TYPE_USE_LONG_LONG
201 #ifndef HAVE_GDCM_SIZEOF_USHORT
202 typedef unsigned short     ushort;
203 #endif
204 #ifndef HAVE_GDCM_SIZEOF_UINT
205 typedef unsigned int       uint;
206 #endif
207 #ifndef HAVE_GDCM_SIZEOF_ULONG
208 typedef unsigned long      ulong;
209 #endif
210 typedef unsigned char      uchar;
211 typedef unsigned long long ulonglong;
212 typedef long long          longlong;
213 #else
214 typedef unsigned short     ushort;
215 typedef unsigned int       uint;
216 typedef unsigned long      ulong;
217 typedef unsigned char      uchar;
218 typedef unsigned __int64   ulonglong;
219 typedef __int64            longlong;
220 #endif /* GDCM_TYPE_USE_LONG_LONG */
221 /* #define  ssize_t    int */
222 #endif /* HAVE_SYS_TYPES_H */
223
224 /* check how the compiler implement the return of malloc(0) */
225 /* jasper does not support the case where it returns NULL */
226 #cmakedefine NULL_ON_MALLOC_0
227
228 #cmakedefine JASPERSTATIC
229 #cmakedefine JASPERDLL
230
231 /* a function referenced thru JASEXTERNs: */
232 #if defined( _WIN32 ) && defined (JASPERDLL)
233 #define JASGLOBAL(type)            __declspec(dllexport) type
234 #else
235 #define JASGLOBAL(type)            type
236 #endif
237
238 /* a reference to a JASGLOBAL function: */
239 #if defined(_WIN32) && !defined(JASPERSTATIC)
240 #ifdef JASPERDLL
241 #define JASEXTERN(type)            __declspec(dllexport) type
242 #else
243 #define JASEXTERN(type)            __declspec(dllimport) type
244 #endif
245 #else
246 #define JASEXTERN(type)            extern type
247 #endif
248
249
250 #endif
251