tif_config.h.cmake.in 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /* clang-format off */
  2. /* clang-format disabled because CMake scripts are very sensitive to the
  3. * formatting of this file. configure_file variables of type "@VAR@" are
  4. * modified by clang-format and won't be substituted.
  5. */
  6. /* libtiff/tif_config.h.cmake.in. Not generated, but originated from autoheader. */
  7. /* This file must be kept up-to-date with needed substitutions from libtiff/tif_config.h.in. */
  8. #include "tiffconf.h"
  9. /* Support CCITT Group 3 & 4 algorithms */
  10. #cmakedefine CCITT_SUPPORT 1
  11. /* Pick up YCbCr subsampling info from the JPEG data stream to support files
  12. lacking the tag (default enabled). */
  13. #cmakedefine CHECK_JPEG_YCBCR_SUBSAMPLING 1
  14. /* enable partial strip reading for large strips (experimental) */
  15. #cmakedefine CHUNKY_STRIP_READ_SUPPORT 1
  16. /* Support C++ stream API (requires C++ compiler) */
  17. #cmakedefine CXX_SUPPORT 1
  18. /* enable deferred strip/tile offset/size loading (experimental) */
  19. #cmakedefine DEFER_STRILE_LOAD 1
  20. /* Define to 1 if you have the <assert.h> header file. */
  21. #cmakedefine HAVE_ASSERT_H 1
  22. /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't. */
  23. #cmakedefine HAVE_DECL_OPTARG 1
  24. /* Define to 1 if you have the <fcntl.h> header file. */
  25. #cmakedefine HAVE_FCNTL_H 1
  26. /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
  27. #cmakedefine HAVE_FSEEKO 1
  28. /* Define to 1 if you have the `getopt' function. */
  29. #cmakedefine HAVE_GETOPT 1
  30. /* Define to 1 if you have the <GLUT/glut.h> header file. */
  31. #cmakedefine HAVE_GLUT_GLUT_H 1
  32. /* Define to 1 if you have the <GL/glut.h> header file. */
  33. #cmakedefine HAVE_GL_GLUT_H 1
  34. /* Define to 1 if you have the <GL/glu.h> header file. */
  35. #cmakedefine HAVE_GL_GLU_H 1
  36. /* Define to 1 if you have the <GL/gl.h> header file. */
  37. #cmakedefine HAVE_GL_GL_H 1
  38. /* Define to 1 if you have the <io.h> header file. */
  39. #cmakedefine HAVE_IO_H 1
  40. /* Define to 1 if you have the `jbg_newlen' function. */
  41. #cmakedefine HAVE_JBG_NEWLEN 1
  42. /* Define to 1 if you have the `mmap' function. */
  43. #cmakedefine HAVE_MMAP 1
  44. /* Define to 1 if you have the <OpenGL/glu.h> header file. */
  45. #cmakedefine HAVE_OPENGL_GLU_H 1
  46. /* Define to 1 if you have the <OpenGL/gl.h> header file. */
  47. #cmakedefine HAVE_OPENGL_GL_H 1
  48. /* Define to 1 if you have the `setmode' function. */
  49. #cmakedefine HAVE_SETMODE 1
  50. /* Define to 1 if you have the <strings.h> header file. */
  51. #cmakedefine HAVE_STRINGS_H 1
  52. /* Define to 1 if you have the <sys/types.h> header file. */
  53. #cmakedefine HAVE_SYS_TYPES_H 1
  54. /* Define to 1 if you have the <unistd.h> header file. */
  55. #cmakedefine HAVE_UNISTD_H 1
  56. /* 8/12 bit libjpeg dual mode enabled */
  57. #cmakedefine JPEG_DUAL_MODE_8_12 1
  58. /* 8/12 bit dual mode JPEG built into libjpeg-turbo 3.0+ */
  59. #cmakedefine HAVE_JPEGTURBO_DUAL_MODE_8_12 1
  60. /* Support LERC compression */
  61. #cmakedefine LERC_SUPPORT 1
  62. /* Define to 1 when building a static libtiff with LERC enabled. */
  63. #cmakedefine LERC_STATIC
  64. /* 12bit libjpeg primary include file with path */
  65. #define LIBJPEG_12_PATH "@LIBJPEG_12_PATH@"
  66. /* Support LZMA2 compression */
  67. #cmakedefine LZMA_SUPPORT 1
  68. /* Name of package */
  69. #define PACKAGE "@PACKAGE_NAME@"
  70. /* Define to the address where bug reports for this package should be sent. */
  71. #define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
  72. /* Define to the full name of this package. */
  73. #define PACKAGE_NAME "@PACKAGE_NAME@"
  74. /* Define to the one symbol short name of this package. */
  75. #define PACKAGE_TARNAME "@PACKAGE_TARNAME@"
  76. /* Define to the home page for this package. */
  77. #define PACKAGE_URL "@PACKAGE_URL@"
  78. /* Size of size_t */
  79. #define SIZEOF_SIZE_T @SIZEOF_SIZE_T@
  80. /* Default size of the strip in bytes (when strip chopping enabled) */
  81. #cmakedefine STRIP_SIZE_DEFAULT @STRIP_SIZE_DEFAULT@
  82. /** Maximum number of TIFF IFDs that libtiff can iterate through in a file. */
  83. #define TIFF_MAX_DIR_COUNT @TIFF_MAX_DIR_COUNT@
  84. /* define to use win32 IO system */
  85. #cmakedefine USE_WIN32_FILEIO 1
  86. /* Support WEBP compression */
  87. #cmakedefine WEBP_SUPPORT 1
  88. /* Support ZSTD compression */
  89. #cmakedefine ZSTD_SUPPORT 1
  90. /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  91. significant byte first (like Motorola and SPARC, unlike Intel). */
  92. #if defined AC_APPLE_UNIVERSAL_BUILD
  93. # if defined __BIG_ENDIAN__
  94. # define WORDS_BIGENDIAN 1
  95. # endif
  96. #else
  97. # ifndef WORDS_BIGENDIAN
  98. # cmakedefine WORDS_BIGENDIAN 1
  99. # endif
  100. #endif
  101. #if !defined(__MINGW32__)
  102. # define TIFF_SIZE_FORMAT "zu"
  103. #endif
  104. #if SIZEOF_SIZE_T == 8
  105. # define TIFF_SSIZE_FORMAT PRId64
  106. # if defined(__MINGW32__)
  107. # define TIFF_SIZE_FORMAT PRIu64
  108. # endif
  109. #elif SIZEOF_SIZE_T == 4
  110. # define TIFF_SSIZE_FORMAT PRId32
  111. # if defined(__MINGW32__)
  112. # define TIFF_SIZE_FORMAT PRIu32
  113. # endif
  114. #else
  115. # error "Unsupported size_t size; please submit a bug report"
  116. #endif
  117. /* clang-format on */