/* config.h.in.  Generated from configure.ac by autoheader.  */

/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD

/* Define to 1 if '-D_FORTIFY_SOURCE=2' link test passes */
#undef FORTIFY_SOURCE_OK

/* Define if ftime returns void */
#undef FTIME_RETURNS_VOID

/* Define if getgrouplist takes int * */
#undef GETGROUPLIST_TAKES_INT_P

/* Define to 1 if you have the `alarm' function. */
#undef HAVE_ALARM

/* Define to 1 if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME

/* Define to 1 if you have the `closefrom' function. */
#undef HAVE_CLOSEFROM

/* Define to 1 if you have the `close_range' function. */
#undef HAVE_CLOSE_RANGE

/* define if the compiler supports basic C++17 syntax */
#undef HAVE_CXX17

/* Define to 1 if you have the declaration of `_addcarry_u32(unsigned char,
   unsigned, unsigned, unsigned*)', and to 0 if you don't. */
#undef HAVE_DECL__ADDCARRY_U32

/* Define to 1 if you have the declaration of `_addcarry_u64(unsigned char,
   unsigned __int64, unsigned __int64, unsigned __int64*)', and to 0 if you
   don't. */
#undef HAVE_DECL__ADDCARRY_U64

/* Define to 1 if you have the declaration of `_byteswap_uint64', and to 0 if
   you don't. */
#undef HAVE_DECL__BYTESWAP_UINT64

/* Define to 1 if you have the declaration of `_byteswap_ulong', and to 0 if
   you don't. */
#undef HAVE_DECL__BYTESWAP_ULONG

/* Define to 1 if you have the declaration of `_byteswap_ushort', and to 0 if
   you don't. */
#undef HAVE_DECL__BYTESWAP_USHORT

/* Define to 1 if you have the declaration of `_putenv_s(const char*, const
   char*)', and to 0 if you don't. */
#undef HAVE_DECL__PUTENV_S

/* Define to 1 if you have the declaration of `_subborrow_u32(unsigned char,
   unsigned, unsigned, unsigned*)', and to 0 if you don't. */
#undef HAVE_DECL__SUBBORROW_U32

/* Define to 1 if you have the declaration of `_subborrow_u64(unsigned char,
   unsigned __int64, unsigned __int64, unsigned __int64*)', and to 0 if you
   don't. */
#undef HAVE_DECL__SUBBORROW_U64

/* Define to 1 if you have the declaration of `__builtin_add_overflow(int,
   int, int*)', and to 0 if you don't. */
#undef HAVE_DECL___BUILTIN_ADD_OVERFLOW

/* Define to 1 if you have the declaration of `__builtin_bswap16(uint16_t)',
   and to 0 if you don't. */
#undef HAVE_DECL___BUILTIN_BSWAP16

/* Define to 1 if you have the declaration of `__builtin_bswap32(uint32_t)',
   and to 0 if you don't. */
#undef HAVE_DECL___BUILTIN_BSWAP32

/* Define to 1 if you have the declaration of `__builtin_bswap64(uint64_t)',
   and to 0 if you don't. */
#undef HAVE_DECL___BUILTIN_BSWAP64

/* Define to 1 if you have the declaration of `__builtin_expect(long, long)',
   and to 0 if you don't. */
#undef HAVE_DECL___BUILTIN_EXPECT

/* Define to 1 if you have the declaration of `__builtin_mul_overflow(int,
   int, int*)', and to 0 if you don't. */
#undef HAVE_DECL___BUILTIN_MUL_OVERFLOW

/* Define to 1 if you have the declaration of `__builtin_sub_overflow(int,
   int, int*)', and to 0 if you don't. */
#undef HAVE_DECL___BUILTIN_SUB_OVERFLOW

/* Define to 1 if you have the '/dev/stdin' special file */
#undef HAVE_DEV_STDIN

/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H

/* Define to 1 if you have the `fnmatch' function. */
#undef HAVE_FNMATCH

/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK

/* Define to 1 if you have the `fread_unlocked' function. */
#undef HAVE_FREAD_UNLOCKED

/* Define to 1 if you have the `ftime' function. */
#undef HAVE_FTIME

/* Define to 1 if you have the `fwrite_unlocked' function. */
#undef HAVE_FWRITE_UNLOCKED

/* Define to 1 if you have the `getc_unlocked' function. */
#undef HAVE_GETC_UNLOCKED

/* Define to 1 if you have the `getdirentries' function. */
#undef HAVE_GETDIRENTRIES

/* Define to 1 if you have the `getgrouplist' function. */
#undef HAVE_GETGROUPLIST

/* Define to 1 if you have the `getrlimit' function. */
#undef HAVE_GETRLIMIT

/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY

/* Define HAVE_GMIME if the library is available */
#undef HAVE_GMIME

/* Define to 1 if you have the `gmtime_r' function. */
#undef HAVE_GMTIME_R

/* Define if you have the iconv() function and it works. */
#undef HAVE_ICONV

/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define HAVE_LIBABW if the library is available */
#undef HAVE_LIBABW

/* Define HAVE_LIBARCHIVE if the library is available */
#undef HAVE_LIBARCHIVE

/* Define HAVE_LIBCDR if the library is available */
#undef HAVE_LIBCDR

/* Define HAVE_LIBEBOOK if the library is available */
#undef HAVE_LIBEBOOK

/* Define HAVE_LIBETONYEK if the library is available */
#undef HAVE_LIBETONYEK

/* Define HAVE_LIBEXTRACTOR if the library is available */
#undef HAVE_LIBEXTRACTOR

/* Define HAVE_LIBGEPUB if the library is available */
#undef HAVE_LIBGEPUB

/* Define HAVE_LIBMWAW if the library is available */
#undef HAVE_LIBMWAW

/* Define to 1 if you have the <LibreOfficeKit/LibreOfficeKit.hxx> header
   file. */
#undef HAVE_LIBREOFFICEKIT_LIBREOFFICEKIT_HXX

/* Define HAVE_LIBSPECTRE if the library is available */
#undef HAVE_LIBSPECTRE

/* Define to 1 if you have the `lstat' function. */
#undef HAVE_LSTAT

/* Define to 1 if you have the <magic.h> header file. */
#undef HAVE_MAGIC_H

/* Define to 1 if you have the `mkdtemp' function. */
#undef HAVE_MKDTEMP

/* Define to 1 if you have the `mmap' function. */
#undef HAVE_MMAP

/* Define to 1 if you have the `nanosleep' function. */
#undef HAVE_NANOSLEEP

/* Define HAVE_POPPLER if the library is available */
#undef HAVE_POPPLER

/* Define to 1 if you have the `posix_fadvise' function. */
#undef HAVE_POSIX_FADVISE

/* Define to 1 if you have the `pstat_getdynamic' function. */
#undef HAVE_PSTAT_GETDYNAMIC

/* Define to 1 if you have the `putc_unlocked' function. */
#undef HAVE_PUTC_UNLOCKED

/* Define to 1 if you have the `setenv' function. */
#undef HAVE_SETENV

/* Define to 1 if you have the `setpgid' function. */
#undef HAVE_SETPGID

/* Define to 1 if you have the `setrlimit' function. */
#undef HAVE_SETRLIMIT

/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION

/* Define to 1 if you have the `sleep' function. */
#undef HAVE_SLEEP

/* Define to 1 if you have the 'socketpair' function */
#undef HAVE_SOCKETPAIR

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the `strftime' function. */
#undef HAVE_STRFTIME

/* 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. */
#undef HAVE_STRING_H

/* Define to 1 if you have the `strptime' function. */
#undef HAVE_STRPTIME

/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
#undef HAVE_STRUCT_TM_TM_GMTOFF

/* Define to 1 if you have the <sysexits.h> header file. */
#undef HAVE_SYSEXITS_H

/* Define to 1 if you have the `sysmp' function. */
#undef HAVE_SYSMP

/* Define to 1 if you have the <sys/pstat.h> header file. */
#undef HAVE_SYS_PSTAT_H

/* Define to 1 if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H

/* Define to 1 if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H

/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H

/* 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/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H

/* Define to 1 if you have the <sys/sysinfo.h> header file. */
#undef HAVE_SYS_SYSINFO_H

/* Define to 1 if you have the <sys/sysmp.h> header file. */
#undef HAVE_SYS_SYSMP_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. */
#undef HAVE_SYS_TYPES_H

/* Define to 1 if you have the <sys/vmmeter.h> header file. */
#undef HAVE_SYS_VMMETER_H

/* Define HAVE_TESSERACT if the library is available */
#undef HAVE_TESSERACT

/* Define to 1 if you have the `timegm' function. */
#undef HAVE_TIMEGM

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the <vm/vm_param.h> header file. */
#undef HAVE_VM_VM_PARAM_H

/* Define to 1 if you have the `waitpid' function. */
#undef HAVE_WAITPID

/* Define to 1 if you have the <zlib.h> header file. */
#undef HAVE_ZLIB_H

/* Define to 1 if you have the `_putenv_s' function. */
#undef HAVE__PUTENV_S

/* Define as const if the declaration of iconv() needs const. */
#undef ICONV_CONST

/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR

/* Define on mingw to get _s suffixed "secure" functions declared in headers
   */
#undef MINGW_HAS_SECURE_API

/* 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. */
#undef PACKAGE_VERSION

/* The size of `time_t', as computed by sizeof. */
#undef SIZEOF_TIME_T

/* type to use for 5th parameter to getsockopt */
#undef SOCKLEN_T

/* Define to 1 if all of the C90 standard headers exist (not just the ones
   required in a freestanding environment). This macro is provided for
   backward compatibility; new code need not use it. */
#undef STDC_HEADERS

/* 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 defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
#  define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
#  undef WORDS_BIGENDIAN
# endif
#endif

/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS

/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES

/* Define to `int' if <sys/types.h> does not define. */
#undef mode_t

/* Define as a signed integer type capable of holding a process identifier. */
#undef pid_t

/* Define to `int' if <sys/types.h> does not define. */
#undef ssize_t

/* Disable stupid MSVC "performance" warning for converting int to bool. */
#ifdef _MSC_VER
# pragma warning(disable:4800)
#endif

/* MSVC defines _WIN32 but not __WIN32__. */
#if !defined __WIN32__ && defined _WIN32
# define __WIN32__
#endif

/* MSVC defines _WIN64 but not __WIN64__. */
#if !defined __WIN64__ && defined _WIN64
# define __WIN64__
#endif

/* Default to enabling _FORTIFY_SOURCE at level 2 for GCC-like compilers.  It
 * shouldn't cause a problem to define it where it's not supported.
 *
 * The FORTIFY_SOURCE_OK check avoids auto-enabling on some mingw-w64 versions
 * which required linking with -lssp too.  This was addressed in v11.0.0
 * (released 2023-04-28).
 *
 * Check if _FORTIFY_SOURCE is already defined to allow the user to override
 * our choice with "./configure CPPFLAGS=-D_FORTIFY_SOURCE=0" or "...=1" or
 * "...=3".
 */
#if defined FORTIFY_SOURCE_OK && !defined _FORTIFY_SOURCE
# define _FORTIFY_SOURCE 2
#endif

/* For compilers which support it (such as GCC, clang, Intel's C++ compiler)
 * we can use __builtin_expect to give the compiler hints about branch
 * prediction.  See HACKING for how to use these.
 */
#if HAVE_DECL___BUILTIN_EXPECT
/* The arguments of __builtin_expect() are both long, so use !! to ensure that
 * the first argument is always an integer expression, and always 0 or 1, but
 * still has the same truth value for the if or while it is used in.
 */
# define rare(COND) __builtin_expect(!!(COND), 0)
# define usual(COND) __builtin_expect(!!(COND), 1)
#else
# define rare(COND) (COND)
# define usual(COND) (COND)
#endif

/* This macro can be used around expressions which intentionally make use of
 * unsigned integer overflow (which is defined behaviour, unlike signed integer
 * overflow) so that we can use UBSan's optional unsigned-integer-overflow
 * check to find potential bugs where we unintentionally overflow an unsigned
 * integer.
 */
#ifdef __clang__
#define UNSIGNED_OVERFLOW_OK(X) \
    ([&]() __attribute__((no_sanitize("unsigned-integer-overflow"))) {\
        return (X);\
    }())
#else
# define UNSIGNED_OVERFLOW_OK(X) (X)
#endif

#ifdef __CYGWIN__
// Needed to get strptime() declared.
# define _GNU_SOURCE
#endif

