X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmConfigure.h.in;h=e4b7528abb68499b8081ae0f4235f97e1dc0952c;hb=HEAD;hp=473e5bd10b59a7a4b12dd09767feccfb1c5b91bb;hpb=bba6b52311989034cfaca84d1ab1e492d94c1873;p=gdcm.git diff --git a/gdcmConfigure.h.in b/gdcmConfigure.h.in index 473e5bd1..e4b7528a 100644 --- a/gdcmConfigure.h.in +++ b/gdcmConfigure.h.in @@ -1,3 +1,21 @@ +/*========================================================================= + + Program: gdcm + Module: $RCSfile: gdcmConfigure.h.in,v $ + Language: C++ + Date: $Date: 2007/05/23 14:18:03 $ + Version: $Revision: 1.22 $ + + 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 @@ -18,11 +36,17 @@ /* Hardcode the path to GDCM_DATA_ROOT */ #define GDCM_DATA_ROOT "@GDCM_DATA_ROOT@" +/* Usefull in particular for loadshared where the full path + * to the lib is needed */ +#define GDCM_EXECUTABLE_OUTPUT_PATH "@EXECUTABLE_OUTPUT_PATH@" +#define GDCM_LIBRARY_OUTPUT_PATH "@LIBRARY_OUTPUT_PATH@" + /* For older gcc / broken plateform */ #cmakedefine GDCM_NO_ANSI_STRING_STREAM /* I guess something important */ -#cmakedefine GDCM_HAVE_STDINT_H +#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 */ @@ -34,6 +58,28 @@ /* 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 + +#define GDCM_SIZEOF_LONG @GDCM_SIZEOF_LONG@ + +/* Special time structure support */ +#cmakedefine CMAKE_HAVE_SYS_TIMES_H +#cmakedefine CMAKE_HAVE_SYS_TIMEB_H + +/* 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 */ @@ -44,5 +90,15 @@ #define GDCM_BUILD_VERSION @GDCM_BUILD_VERSION@ #define GDCM_VERSION "@GDCM_VERSION@" +/*--------------------------------------------------------------------------*/ +/* GDCM deprecation mechanism */ +#cmakedefine GDCM_LEGACY_REMOVE +#cmakedefine GDCM_LEGACY_SILENT + +/*--------------------------------------------------------------------------*/ +/* Will be usefull to use 2 different versions of gdcm. */ +/* e.g. : ITK uses gdcm1.2; vtkgdcmImageReader uses gdcm1.3 */ + +#define GDCM_NAME_SPACE @GDCM_NAME_SPACE@ #endif