]> Creatis software - gdcm.git/blob - gdcmConfigure.h.in
ENH: Adding new option in CMake: GDCM_FORCE_BIGENDIAN_EMULATION. You are now able...
[gdcm.git] / gdcmConfigure.h.in
1 #ifndef __gdcmConfigure_h
2 #define __gdcmConfigure_h
3
4 /* This header is configured by GDCM's build process.  */
5
6 /*--------------------------------------------------------------------------*/
7 /* Platform Features                                                        */
8
9 /* Byte order.  */
10 #cmakedefine GDCM_WORDS_BIGENDIAN
11
12 /* Allow access to UINT32_MAX , cf gdcmCommon.h */
13 #define __STDC_LIMIT_MACROS
14
15 /* Hard code the path to the public dictionary */
16 #define PUB_DICT_PATH "@GDCM_PUB_DICT_PATH@"
17
18 /* Hardcode the path to GDCM_DATA_ROOT */
19 #define GDCM_DATA_ROOT "@GDCM_DATA_ROOT@"
20
21 /* For older gcc / broken plateform */
22 #cmakedefine GDCM_NO_ANSI_STRING_STREAM
23
24 /* I guess something important */
25 #cmakedefine CMAKE_HAVE_STDINT_H
26 #cmakedefine CMAKE_HAVE_INTTYPES_H
27
28 /* This variable allows you to have helpful debug statement */
29 /* That are in between #ifdef / endif in the gdcm code */
30 /* That means if GDCM_DEBUG is OFF there shouldn't be any 'cout' at all ! */
31 /* only cerr, for instance 'invalid file' will be allowed */
32 #cmakedefine GDCM_DEBUG
33
34 /* Whether we are building shared libraries.  */
35 /* This was important as long as GDCM is LGPL */
36 #cmakedefine BUILD_SHARED_LIBS
37
38 /* GDCM uses __FUNCTION__ which is not ANSI C, but C99 */
39 #cmakedefine GDCM_COMPILER_HAS_FUNCTION
40
41
42 /* GetMacAddress require a lot of include file to access low level API */
43 #cmakedefine CMAKE_HAVE_UNISTD_H
44 #cmakedefine CMAKE_HAVE_STDLIB_H
45 #cmakedefine CMAKE_HAVE_SYS_IOCTL_H
46 #cmakedefine CMAKE_HAVE_SYS_SOCKET_H
47 #cmakedefine CMAKE_HAVE_SYS_SOCKIO_H
48 #cmakedefine CMAKE_HAVE_NET_IF_H
49 #cmakedefine CMAKE_HAVE_NETINET_IN_H
50 #cmakedefine CMAKE_HAVE_NET_IF_DL_H
51 #cmakedefine CMAKE_HAVE_NET_IF_ARP_H
52 #cmakedefine HAVE_SA_LEN
53
54 #cmakedefine GDCM_FORCE_BIGENDIAN_EMULATION
55
56 /*--------------------------------------------------------------------------*/
57 /* GDCM Versioning                                                          */
58
59 /* Version number.  */
60 #define GDCM_MAJOR_VERSION @GDCM_MAJOR_VERSION@
61 #define GDCM_MINOR_VERSION @GDCM_MINOR_VERSION@
62 #define GDCM_BUILD_VERSION @GDCM_BUILD_VERSION@
63 #define GDCM_VERSION "@GDCM_VERSION@"
64
65
66 #endif