]> Creatis software - gdcm.git/blobdiff - gdcmConfigure.h.in
ENH: Adding a deprecation mechanism to gdcm via two MACRO and two config options
[gdcm.git] / gdcmConfigure.h.in
index ad1abfd06795214f6339fa4bbe0b0f4555df1be7..ecec6f130029eb4a49e6d81b6cd8189a198af0c9 100644 (file)
@@ -1 +1,89 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmConfigure.h.in,v $
+  Language:  C++
+  Date:      $Date: 2005/07/19 14:43:46 $
+  Version:   $Revision: 1.17 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
+#ifndef __gdcmConfigure_h
+#define __gdcmConfigure_h
+
+/* This header is configured by GDCM's build process.  */
+
+/*--------------------------------------------------------------------------*/
+/* Platform Features                                                        */
+
+/* Byte order.  */
+#cmakedefine GDCM_WORDS_BIGENDIAN
+
+/* Allow access to UINT32_MAX , cf gdcmCommon.h */
+#define __STDC_LIMIT_MACROS
+
+/* Hard code the path to the public dictionary */
+#define PUB_DICT_PATH "@GDCM_PUB_DICT_PATH@"
+
+/* Hardcode the path to GDCM_DATA_ROOT */
 #define GDCM_DATA_ROOT "@GDCM_DATA_ROOT@"
+
+/* For older gcc / broken plateform */
+#cmakedefine GDCM_NO_ANSI_STRING_STREAM
+
+/* I guess something important */
+#cmakedefine CMAKE_HAVE_STDINT_H
+#cmakedefine CMAKE_HAVE_INTTYPES_H
+
+/* This variable allows you to have helpful debug statement */
+/* That are in between #ifdef / endif in the gdcm code */
+/* That means if GDCM_DEBUG is OFF there shouldn't be any 'cout' at all ! */
+/* only cerr, for instance 'invalid file' will be allowed */
+#cmakedefine GDCM_DEBUG
+
+/* Whether we are building shared libraries.  */
+/* This was important as long as GDCM is LGPL */
+#cmakedefine BUILD_SHARED_LIBS
+
+/* GDCM uses __FUNCTION__ which is not ANSI C, but C99 */
+#cmakedefine GDCM_COMPILER_HAS_FUNCTION
+
+
+/* GetMacAddress require a lot of include file to access low level API */
+#cmakedefine CMAKE_HAVE_UNISTD_H
+#cmakedefine CMAKE_HAVE_STDLIB_H
+#cmakedefine CMAKE_HAVE_SYS_IOCTL_H
+#cmakedefine CMAKE_HAVE_SYS_SOCKET_H
+#cmakedefine CMAKE_HAVE_SYS_SOCKIO_H
+#cmakedefine CMAKE_HAVE_NET_IF_H
+#cmakedefine CMAKE_HAVE_NETINET_IN_H
+#cmakedefine CMAKE_HAVE_NET_IF_DL_H
+#cmakedefine CMAKE_HAVE_NET_IF_ARP_H
+#cmakedefine HAVE_SA_LEN
+
+#cmakedefine GDCM_FORCE_BIGENDIAN_EMULATION
+
+/*--------------------------------------------------------------------------*/
+/* GDCM Versioning                                                          */
+
+/* Version number.  */
+#define GDCM_MAJOR_VERSION @GDCM_MAJOR_VERSION@
+#define GDCM_MINOR_VERSION @GDCM_MINOR_VERSION@
+#define GDCM_BUILD_VERSION @GDCM_BUILD_VERSION@
+#define GDCM_VERSION "@GDCM_VERSION@"
+
+/*--------------------------------------------------------------------------*/
+/* GDCM deprecation mechanism                                               */
+#cmakedefine GDCM_LEGACY_REMOVE
+#cmakedefine GDCM_LEGACY_SILENT
+
+
+#endif