tif_config.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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 "" 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. #define CCITT_SUPPORT 1
  11. /* Pick up YCbCr subsampling info from the JPEG data stream to support files
  12. lacking the tag (default enabled). */
  13. #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
  14. /* enable partial strip reading for large strips (experimental) */
  15. /* #undef CHUNKY_STRIP_READ_SUPPORT */
  16. /* Support C++ stream API (requires C++ compiler) */
  17. #define CXX_SUPPORT 1
  18. /* enable deferred strip/tile offset/size loading (experimental) */
  19. /* #undef DEFER_STRILE_LOAD */
  20. /* Define to 1 if you have the <assert.h> header file. */
  21. #define HAVE_ASSERT_H 1
  22. /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't. */
  23. #define HAVE_DECL_OPTARG 1
  24. /* Define to 1 if you have the <fcntl.h> header file. */
  25. #define HAVE_FCNTL_H 1
  26. /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
  27. /* #undef HAVE_FSEEKO */
  28. /* Define to 1 if you have the `getopt' function. */
  29. #define HAVE_GETOPT 1
  30. /* Define to 1 if you have the <io.h> header file. */
  31. /* #undef HAVE_IO_H */
  32. /* Define to 1 if you have the `jbg_newlen' function. */
  33. /* #undef HAVE_JBG_NEWLEN */
  34. /* Define to 1 if you have the `mmap' function. */
  35. #define HAVE_MMAP 1
  36. /* Define to 1 if you have the `setmode' function. */
  37. /* #undef HAVE_SETMODE */
  38. /* Define to 1 if you have the <strings.h> header file. */
  39. #define HAVE_STRINGS_H 1
  40. /* Define to 1 if you have the <sys/types.h> header file. */
  41. #define HAVE_SYS_TYPES_H 1
  42. /* Define to 1 if you have the <unistd.h> header file. */
  43. #define HAVE_UNISTD_H 1
  44. /* 8/12 bit libjpeg dual mode enabled */
  45. /* #undef JPEG_DUAL_MODE_8_12 */
  46. /* Support LERC compression */
  47. /* #undef LERC_SUPPORT */
  48. /* 12bit libjpeg primary include file with path */
  49. #define LIBJPEG_12_PATH ""
  50. /* Support LZMA2 compression */
  51. #define LZMA_SUPPORT 1
  52. /* Name of package */
  53. #define PACKAGE "LibTIFF Software"
  54. /* Define to the address where bug reports for this package should be sent. */
  55. #define PACKAGE_BUGREPORT "tiff@lists.osgeo.org"
  56. /* Define to the full name of this package. */
  57. #define PACKAGE_NAME "LibTIFF Software"
  58. /* Define to the one symbol short name of this package. */
  59. #define PACKAGE_TARNAME "tiff"
  60. /* Define to the home page for this package. */
  61. #define PACKAGE_URL ""
  62. /* Size of size_t */
  63. #define SIZEOF_SIZE_T 8
  64. /* Default size of the strip in bytes (when strip chopping enabled) */
  65. #define STRIP_SIZE_DEFAULT 8192
  66. /** Maximum number of TIFF IFDs that libtiff can iterate through in a file. */
  67. #define TIFF_MAX_DIR_COUNT 1048576
  68. /* define to use win32 IO system */
  69. /* #undef USE_WIN32_FILEIO */
  70. /* Support WEBP compression */
  71. #define WEBP_SUPPORT 1
  72. /* Support ZSTD compression */
  73. #define ZSTD_SUPPORT 1
  74. /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  75. significant byte first (like Motorola and SPARC, unlike Intel). */
  76. #if defined AC_APPLE_UNIVERSAL_BUILD
  77. # if defined __BIG_ENDIAN__
  78. # define WORDS_BIGENDIAN 1
  79. # endif
  80. #else
  81. # ifndef WORDS_BIGENDIAN
  82. # undef WORDS_BIGENDIAN
  83. # endif
  84. #endif
  85. #if !defined(__MINGW32__)
  86. # define TIFF_SIZE_FORMAT "zu"
  87. #endif
  88. #if SIZEOF_SIZE_T == 8
  89. # define TIFF_SSIZE_FORMAT PRId64
  90. # if defined(__MINGW32__)
  91. # define TIFF_SIZE_FORMAT PRIu64
  92. # endif
  93. #elif SIZEOF_SIZE_T == 4
  94. # define TIFF_SSIZE_FORMAT PRId32
  95. # if defined(__MINGW32__)
  96. # define TIFF_SIZE_FORMAT PRIu32
  97. # endif
  98. #else
  99. # error "Unsupported size_t size; please submit a bug report"
  100. #endif
  101. /* clang-format on */