1 /* src/libjasper/include/jasper/jas_config.h.in. Template for cmake. */
4 /* Avoid problems due to multiple inclusion. */
9 /* Extra debugging support */
12 /* Debugging memory allocator */
15 /* Debugging overflow detection */
19 #if defined(_MSC_VER) && _MSC_VER < 1300
20 # pragma warning ( disable : 4761 ) /* integral size mismatch in argument; conversion supplied */
23 /* Define to 1 if you have the <dlfcn.h> header file. */
24 #cmakedefine HAVE_DLFCN_H
26 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
27 /* #undef HAVE_DOPRNT */
29 /* Define to 1 if you have the <fcntl.h> header file. */
30 #cmakedefine HAVE_FCNTL_H
32 /* Define to 1 if you have the <inttypes.h> header file. */
33 #cmakedefine HAVE_INTTYPES_H
35 /* Define to 1 if you have the <io.h> header file. */
36 #cmakedefine HAVE_IO_H
38 /* Define to 1 if you have the `m' library (-lm). */
39 /* #define HAVE_LIBM 1 */
41 /* Define to 1 if you have the <limits.h> header file. */
42 #cmakedefine HAVE_LIMITS_H
44 /* Define to 1 if you have the <memory.h> header file. */
45 #cmakedefine HAVE_MEMORY_H
47 /* Define to 1 if you have the <stdbool.h> header file. */
48 #cmakedefine HAVE_STDBOOL_H
50 /* Define to 1 if you have the <stddef.h> header file. */
51 #cmakedefine HAVE_STDDEF_H
53 /* Define to 1 if you have the <stdint.h> header file. */
54 #cmakedefine HAVE_STDINT_H
56 /* Define to 1 if you have the <stdlib.h> header file. */
57 #cmakedefine HAVE_STDLIB_H
59 /* Define to 1 if you have the <strings.h> header file. */
60 #cmakedefine HAVE_STRINGS_H
62 /* Define to 1 if you have the <string.h> header file. */
63 #cmakedefine HAVE_STRING_H
65 /* Define to 1 if you have the <sys/stat.h> header file. */
66 #cmakedefine HAVE_SYS_STAT_H
68 /* Define to 1 if you have the <sys/types.h> header file. */
69 #cmakedefine HAVE_SYS_TYPES_H
71 /* Define to 1 if you have the <unistd.h> header file. */
72 #cmakedefine HAVE_UNISTD_H
74 /* Have variable length arrays */
75 /* #define HAVE_VLA 1 */
77 /* Define to 1 if you have the `vprintf' function. */
78 /* #define HAVE_VPRINTF 1 */
80 /* Define to 1 if you have the <windows.h> header file. */
81 #cmakedefine HAVE_WINDOWS_H
83 /* JasPer configure */
84 #define JAS_CONFIGURE 1
87 #define JAS_VERSION "@JAS_VERSION@"
90 #define PACKAGE "jasper"
92 /* Define to the address where bug reports for this package should be sent. */
93 #define PACKAGE_BUGREPORT ""
95 /* Define to the full name of this package. */
96 #define PACKAGE_NAME "jasper"
98 /* Define to the full name and version of this package. */
99 #define PACKAGE_STRING "jasper @JAS_VERSION@"
101 /* Define to the one symbol short name of this package. */
102 #define PACKAGE_TARNAME "jasper"
104 /* Define to the version of this package. */
105 #define PACKAGE_VERSION "@JAS_VERSION@"
107 /* Size of fundamental data types. */
108 /* The size of a `int', as computed by sizeof. */
109 #define SIZEOF_INT @GDCM_SIZEOF_INT@
111 /* The size of a `long', as computed by sizeof. */
112 #define SIZEOF_LONG @GDCM_SIZEOF_LONG@
114 /* The size of a `short', as computed by sizeof. */
115 #define SIZEOF_SHORT @GDCM_SIZEOF_SHORT@
117 /* The size of a `char', as computed by sizeof. */
118 #define SIZEOF_CHAR @GDCM_SIZEOF_CHAR@
120 /* The size of a `double', as computed by sizeof. */
121 #define SIZEOF_DOUBLE @GDCM_SIZEOF_DOUBLE@
123 /* The size of a `float', as computed by sizeof. */
124 #define SIZEOF_FLOAT @GDCM_SIZEOF_FLOAT@
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@
131 /* The size of a `unsigned long', as computed by sizeof. */
132 #define SIZEOF_UNSIGNED_LONG @GDCM_SIZEOF_LONG@
134 /* The size of a `unsigned short', as computed by sizeof. */
135 #define SIZEOF_UNSIGNED_SHORT @GDCM_SIZEOF_SHORT@
138 /* Define size of long long and/or __int64 bit integer type only if the type
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@
144 /* The size of a `unsigned long long', as computed by sizeof. */
145 #define SIZEOF_UNSIGNED_LONG_LONG @GDCM_SIZEOF_LONG_LONG@
150 /* Define to 1 if you have the ANSI C header files. */
151 #define STDC_HEADERS 1
154 /* Version number of package */
155 #define VERSION "1.701.0"
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
161 /* Define to 1 if the X Window System is missing or not being used. */
162 /*#define X_DISPLAY_MISSING 1 */
164 /* Define to empty if `const' does not conform to ANSI C. */
167 /* Define as `__inline' if that's what the C compiler calls it, or to nothing
168 if it is not supported. */
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
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
182 /* On win32 there is no long long therefore use __int64 instead */
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;
193 #error this is not supposed to happen please report your compiler
194 #endif /*GDCM_TYPE_USE___INT64*/
196 #cmakedefine HAVE_GDCM_SIZEOF_UINT
197 #cmakedefine HAVE_GDCM_SIZEOF_USHORT
198 #cmakedefine HAVE_GDCM_SIZEOF_ULONG
200 #ifdef GDCM_TYPE_USE_LONG_LONG
201 #ifndef HAVE_GDCM_SIZEOF_USHORT
202 typedef unsigned short ushort;
204 #ifndef HAVE_GDCM_SIZEOF_UINT
205 typedef unsigned int uint;
207 #ifndef HAVE_GDCM_SIZEOF_ULONG
208 typedef unsigned long ulong;
210 typedef unsigned char uchar;
211 typedef unsigned long long ulonglong;
212 typedef long long longlong;
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 */
225 #cmakedefine JASPERSTATIC
226 #cmakedefine JASPERDLL
228 /* a function referenced thru JASEXTERNs: */
229 #if defined( _WIN32 ) && defined (JASPERDLL)
230 #define JASGLOBAL(type) __declspec(dllexport) type
232 #define JASGLOBAL(type) type
235 /* a reference to a JASGLOBAL function: */
236 #if defined(_WIN32) && !defined(JASPERSTATIC)
238 #define JASEXTERN(type) __declspec(dllexport) type
240 #define JASEXTERN(type) __declspec(dllimport) type
243 #define JASEXTERN(type) extern type