449 lines
12 KiB
C
449 lines
12 KiB
C
/*
|
|
Configuration defines for Qt.
|
|
*/
|
|
|
|
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
|
|
#define _CRT_SECURE_NO_WARNINGS
|
|
#endif
|
|
|
|
#include <qglobal.h>
|
|
#if defined(Q_OS_WINCE)
|
|
# include <qfunctions_wince.h>
|
|
#endif
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
/* #undef AC_APPLE_UNIVERSAL_BUILD */
|
|
|
|
/* Support CCITT Group 3 & 4 algorithms */
|
|
/* #undef CCITT_SUPPORT */
|
|
|
|
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
|
|
lacking the tag (default enabled). */
|
|
/* #undef CHECK_JPEG_YCBCR_SUBSAMPLING */
|
|
|
|
/* enable partial strip reading for large strips (experimental) */
|
|
/* #undef CHUNKY_STRIP_READ_SUPPORT */
|
|
|
|
/* Support C++ stream API (requires C++ compiler) */
|
|
/* #undef CXX_SUPPORT */
|
|
|
|
/* Treat extra sample as alpha (default enabled). The RGBA interface will
|
|
treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
|
|
packages produce RGBA files but don't mark the alpha properly. */
|
|
/* #undef DEFAULT_EXTRASAMPLE_AS_ALPHA */
|
|
|
|
/* enable deferred strip/tile offset/size loading (experimental) */
|
|
/* #undef DEFER_STRILE_LOAD */
|
|
|
|
/* Define to 1 if you have the <assert.h> header file. */
|
|
#define HAVE_ASSERT_H 1
|
|
|
|
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
|
|
*/
|
|
#define HAVE_DECL_OPTARG 0
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
/* #undef HAVE_DLFCN_H */
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#if !defined(Q_OS_WINCE)
|
|
#define HAVE_FCNTL_H 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the `floor' function. */
|
|
/* #undef HAVE_FLOOR */
|
|
|
|
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
|
|
/* #undef HAVE_FSEEKO */
|
|
|
|
/* Define to 1 if you have the `getopt' function. */
|
|
/* #undef HAVE_GETOPT */
|
|
|
|
/* Define to 1 if you have the <GLUT/glut.h> header file. */
|
|
/* #undef HAVE_GLUT_GLUT_H */
|
|
|
|
/* Define to 1 if you have the <GL/glut.h> header file. */
|
|
/* #undef HAVE_GL_GLUT_H */
|
|
|
|
/* Define to 1 if you have the <GL/glu.h> header file. */
|
|
/* #undef HAVE_GL_GLU_H */
|
|
|
|
/* Define to 1 if you have the <GL/gl.h> header file. */
|
|
/* #undef HAVE_GL_GL_H */
|
|
|
|
/* Define as 0 or 1 according to the floating point format suported by the
|
|
machine */
|
|
/* #undef HAVE_IEEEFP */
|
|
|
|
/* Define to 1 if the system has the type `int16'. */
|
|
#ifdef Q_OS_AIX
|
|
#define HAVE_INT16 1
|
|
#endif
|
|
|
|
/* Define to 1 if the system has the type `int32'. */
|
|
#ifdef Q_OS_AIX
|
|
#define HAVE_INT32 1
|
|
#endif
|
|
|
|
/* Define to 1 if the system has the type `int8'. */
|
|
#ifdef Q_OS_AIX
|
|
#define HAVE_INT8 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
/* #undef HAVE_INTTYPES_H */
|
|
|
|
/* Define to 1 if you have the <io.h> header file. */
|
|
/* #undef HAVE_IO_H */
|
|
|
|
/* Define to 1 if you have the `isascii' function. */
|
|
/* #undef HAVE_ISASCII */
|
|
|
|
/* Define to 1 if you have the `jbg_newlen' function. */
|
|
/* #undef HAVE_JBG_NEWLEN */
|
|
|
|
/* Define to 1 if you have the `lfind' function. */
|
|
/* #undef HAVE_LFIND */
|
|
|
|
/* Define to 1 if you have the `c' library (-lc). */
|
|
/* #undef HAVE_LIBC */
|
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
/* #undef HAVE_LIMITS_H */
|
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
|
/* #undef HAVE_MALLOC_H */
|
|
|
|
/* Define to 1 if you have the `memmove' function. */
|
|
/* #undef HAVE_MEMMOVE */
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
/* #undef HAVE_MEMORY_H */
|
|
|
|
/* Define to 1 if you have the `memset' function. */
|
|
/* #undef HAVE_MEMSET */
|
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
|
/* #undef HAVE_MMAP */
|
|
|
|
/* Define to 1 if you have the <OpenGL/glu.h> header file. */
|
|
/* #undef HAVE_OPENGL_GLU_H */
|
|
|
|
/* Define to 1 if you have the <OpenGL/gl.h> header file. */
|
|
/* #undef HAVE_OPENGL_GL_H */
|
|
|
|
/* Define to 1 if you have the `pow' function. */
|
|
/* #undef HAVE_POW */
|
|
|
|
/* Define if you have POSIX threads libraries and header files. */
|
|
/* #undef HAVE_PTHREAD */
|
|
|
|
/* Define to 1 if you have the <search.h> header file. */
|
|
#if !defined(Q_OS_WINCE) && !defined(Q_OS_VXWORKS) && !defined(Q_OS_ANDROID) && !defined(Q_OS_INTEGRITY)
|
|
#define HAVE_SEARCH_H 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the `setmode' function. */
|
|
/* #undef HAVE_SETMODE */
|
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
|
#if defined(snprintf) || (!defined(_MSC_VER) || _MSC_VER >= 1900)
|
|
#define HAVE_SNPRINTF 1
|
|
#endif
|
|
|
|
/* Define to 1 if you have the `sqrt' function. */
|
|
/* #undef HAVE_SQRT */
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
/* #undef HAVE_STDINT_H */
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
/* #undef HAVE_STDLIB_H */
|
|
|
|
/* Define to 1 if you have the `strcasecmp' function. */
|
|
/* #undef HAVE_STRCASECMP */
|
|
|
|
/* Define to 1 if you have the `strchr' function. */
|
|
/* #undef HAVE_STRCHR */
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
/* #undef HAVE_STRINGS_H */
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#define HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have the `strrchr' function. */
|
|
/* #undef HAVE_STRRCHR */
|
|
|
|
/* Define to 1 if you have the `strstr' function. */
|
|
/* #undef HAVE_STRSTR */
|
|
|
|
/* Define to 1 if you have the `strtol' function. */
|
|
/* #undef HAVE_STRTOL */
|
|
|
|
/* Define to 1 if you have the `strtoul' function. */
|
|
/* #undef HAVE_STRTOUL */
|
|
|
|
/* Define to 1 if you have the `strtoull' function. */
|
|
/* #undef HAVE_STRTOULL */
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
/* #undef HAVE_SYS_STAT_H */
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
/* #undef HAVE_SYS_TIME_H */
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#if !defined(Q_OS_WIN)
|
|
#define HAVE_UNISTD_H 1
|
|
#endif
|
|
|
|
/* Use nonstandard varargs form for the GLU tesselator callback */
|
|
/* #undef HAVE_VARARGS_GLU_TESSCB */
|
|
|
|
/* Define to 1 if you have the <windows.h> header file. */
|
|
/* #undef HAVE_WINDOWS_H */
|
|
|
|
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
|
|
(Intel) */
|
|
/* #undef HOST_BIGENDIAN */
|
|
|
|
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
|
|
/* #undef HOST_FILLORDER FILLORDER_LSB2MSB */
|
|
|
|
/* Support ISO JBIG compression (requires JBIG-KIT library) */
|
|
/* #undef JBIG_SUPPORT */
|
|
|
|
/* 8/12 bit libjpeg dual mode enabled */
|
|
/* #undef JPEG_DUAL_MODE_8_12 */
|
|
|
|
/* Support JPEG compression (requires IJG JPEG library) */
|
|
/* #undef JPEG_SUPPORT */
|
|
|
|
/* 12bit libjpeg primary include file with path */
|
|
/* #undef LIBJPEG_12_PATH */
|
|
|
|
/* Support LogLuv high dynamic range encoding */
|
|
/* #undef LOGLUV_SUPPORT */
|
|
|
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
|
/* #undef LT_OBJDIR */
|
|
|
|
/* Support LZMA2 compression */
|
|
/* #undef LZMA_SUPPORT */
|
|
|
|
/* Support LZW algorithm */
|
|
/* #undef LZW_SUPPORT */
|
|
|
|
/* Support Microsoft Document Imaging format */
|
|
/* #undef MDI_SUPPORT */
|
|
|
|
/* Support NeXT 2-bit RLE algorithm */
|
|
/* #undef NEXT_SUPPORT */
|
|
|
|
/* Support Old JPEG compresson (read-only) */
|
|
/* #undef OJPEG_SUPPORT */
|
|
|
|
/* Name of package */
|
|
/* #undef PACKAGE */
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
/* #undef PACKAGE_BUGREPORT */
|
|
|
|
/* Define to the full name of this package. */
|
|
/* #undef PACKAGE_NAME */
|
|
|
|
/* Define to the full name and version of this package. */
|
|
/* #undef PACKAGE_STRING */
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
/* #undef PACKAGE_TARNAME */
|
|
|
|
/* Define to the home page for this package. */
|
|
/* #undef PACKAGE_URL */
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION "4.0.9"
|
|
|
|
/* Support Macintosh PackBits algorithm */
|
|
/* #undef PACKBITS_SUPPORT */
|
|
|
|
/* Support Pixar log-format algorithm (requires Zlib) */
|
|
/* #undef PIXARLOG_SUPPORT */
|
|
|
|
/* Define to necessary symbol if this constant uses a non-standard name on
|
|
your system. */
|
|
/* #undef PTHREAD_CREATE_JOINABLE */
|
|
|
|
/* The size of `signed int', as computed by sizeof. */
|
|
/* #undef SIZEOF_SIGNED_INT */
|
|
|
|
/* The size of `signed long', as computed by sizeof. */
|
|
/* #undef SIZEOF_SIGNED_LONG */
|
|
|
|
/* The size of `signed long long', as computed by sizeof. */
|
|
/* #undef SIZEOF_SIGNED_LONG_LONG */
|
|
|
|
/* The size of `signed short', as computed by sizeof. */
|
|
/* #undef SIZEOF_SIGNED_SHORT */
|
|
|
|
/* The size of `size_t', as computed by sizeof. */
|
|
/* #undef SIZEOF_SIZE_T */
|
|
|
|
/* The size of `unsigned char *', as computed by sizeof. */
|
|
/* #undef SIZEOF_UNSIGNED_CHAR_P */
|
|
|
|
/* The size of `unsigned int', as computed by sizeof. */
|
|
/* #undef SIZEOF_UNSIGNED_INT */
|
|
|
|
/* The size of `unsigned long', as computed by sizeof. */
|
|
/* #undef SIZEOF_UNSIGNED_LONG */
|
|
|
|
/* The size of `unsigned long long', as computed by sizeof. */
|
|
/* #undef SIZEOF_UNSIGNED_LONG_LONG */
|
|
|
|
/* The size of `unsigned short', as computed by sizeof. */
|
|
/* #undef SIZEOF_UNSIGNED_SHORT */
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
/* #undef STDC_HEADERS */
|
|
|
|
/* Support strip chopping (whether or not to convert single-strip uncompressed
|
|
images to mutiple strips of specified size to reduce memory usage) */
|
|
/* #undef STRIPCHOP_DEFAULT TIFF_STRIPCHOP */
|
|
|
|
/* Default size of the strip in bytes (when strip chopping enabled) */
|
|
/* #undef STRIP_SIZE_DEFAULT */
|
|
|
|
/* Enable SubIFD tag (330) support */
|
|
/* #undef SUBIFD_SUPPORT */
|
|
|
|
/* Support ThunderScan 4-bit RLE algorithm */
|
|
/* #undef THUNDER_SUPPORT */
|
|
|
|
/* Signed 16-bit type */
|
|
/* #undef TIFF_INT16_T qint16 */
|
|
|
|
/* Signed 32-bit type formatter */
|
|
#define TIFF_INT32_FORMAT "%d"
|
|
|
|
/* Signed 32-bit type */
|
|
/* #undef TIFF_INT32_T qint32 */
|
|
|
|
/* Signed 64-bit type formatter */
|
|
#define TIFF_INT64_FORMAT "%lld"
|
|
|
|
/* Signed 64-bit type */
|
|
/* #undef TIFF_INT64_T qint64 */
|
|
|
|
/* Signed 8-bit type */
|
|
/* #undef TIFF_INT8_T qint8 */
|
|
|
|
/* Pointer difference type formatter */
|
|
#define TIFF_PTRDIFF_FORMAT "%ld"
|
|
|
|
/* Pointer difference type */
|
|
#define TIFF_PTRDIFF_T ptrdiff_t
|
|
|
|
/* Size type formatter */
|
|
/* #undef TIFF_SIZE_FORMAT */
|
|
|
|
/* Unsigned size type */
|
|
/* #undef TIFF_SIZE_T */
|
|
|
|
/* Signed size type formatter */
|
|
#if QT_POINTER_SIZE == 4
|
|
#define TIFF_SSIZE_FORMAT "%ld"
|
|
#else
|
|
#define TIFF_SSIZE_FORMAT "%lld"
|
|
#endif
|
|
|
|
/* Signed size type */
|
|
/* #undef TIFF_SSIZE_T qint64 */
|
|
|
|
/* Unsigned 16-bit type */
|
|
/* #undef TIFF_UINT16_T quint16 */
|
|
|
|
/* Unsigned 32-bit type formatter */
|
|
#define TIFF_UINT32_FORMAT "%u"
|
|
|
|
/* Unsigned 32-bit type */
|
|
/* #undef TIFF_UINT32_T quint32 */
|
|
|
|
/* Unsigned 64-bit type formatter */
|
|
#define TIFF_UINT64_FORMAT "%llu"
|
|
|
|
/* Unsigned 64-bit type */
|
|
/* #undef TIFF_UINT64_T quint64 */
|
|
|
|
/* Unsigned 8-bit type */
|
|
/* #undef TIFF_UINT8_T quint8 */
|
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
/* #undef TIME_WITH_SYS_TIME */
|
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
/* #undef TM_IN_SYS_TIME */
|
|
|
|
/* define to use win32 IO system */
|
|
#ifdef Q_OS_WIN
|
|
#define USE_WIN32_FILEIO 1
|
|
#endif
|
|
|
|
/* Version number of package */
|
|
/* #undef VERSION */
|
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
#if (Q_BYTE_ORDER == Q_BIG_ENDIAN)
|
|
#define WORDS_BIGENDIAN 1
|
|
#endif
|
|
|
|
/* Define to 1 if the X Window System is missing or not being used. */
|
|
/* #undef X_DISPLAY_MISSING */
|
|
|
|
/* Support Deflate compression */
|
|
/* #undef ZIP_SUPPORT */
|
|
|
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
|
#if defined(Q_OS_MAC)
|
|
#ifndef _DARWIN_USE_64_BIT_INODE
|
|
# define _DARWIN_USE_64_BIT_INODE 1
|
|
#endif
|
|
#endif
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
/* #undef _FILE_OFFSET_BITS */
|
|
|
|
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
|
|
/* #undef _LARGEFILE_SOURCE */
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
/* #undef _LARGE_FILES */
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
/* #undef const */
|
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
#if defined(Q_CC_MSVC)
|
|
#ifndef __cplusplus
|
|
# ifndef inline
|
|
# define inline __inline
|
|
# endif
|
|
#endif
|
|
#endif
|
|
|
|
/* Define to `long int' if <sys/types.h> does not define. */
|
|
/* #undef off_t */
|
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
/* #undef size_t */
|
|
|
|
#ifdef Q_OS_WIN
|
|
#define TIF_PLATFORM_CONSOLE
|
|
#endif
|