X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmConfigure.h.in;h=3a56d724fcd09a67fe5bde41c92f484c48a9805a;hb=5643fadddc60ed9986f21bddf1e1ed1d36f5d7a2;hp=613918b3619fab86749b4c835a5efb3f95ae66fc;hpb=1be93686dccf1c305920eb66db7821764d3cc982;p=gdcm.git diff --git a/gdcmConfigure.h.in b/gdcmConfigure.h.in index 613918b3..3a56d724 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: 2005/06/07 14:41:46 $ + Version: $Revision: 1.16 $ + + 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 @@ -7,7 +25,7 @@ /* Platform Features */ /* Byte order. */ -//#cmakedefine GDCM_WORDS_BIGENDIAN +#cmakedefine GDCM_WORDS_BIGENDIAN /* Allow access to UINT32_MAX , cf gdcmCommon.h */ #define __STDC_LIMIT_MACROS @@ -22,7 +40,8 @@ #cmakedefine GDCM_NO_ANSI_STRING_STREAM /* I guess something important */ -#cmakedefine HAVE_NO_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 */ @@ -31,9 +50,26 @@ #cmakedefine GDCM_DEBUG /* Whether we are building shared libraries. */ -/* This is important as long as GDCM is LGPL */ +/* 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 */