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