/* config.h.cmake.in.  Generated from CMakeLists.txt by cmake.  */

/* general constants */
#define HOST_CPU             "${CMAKE_SYSTEM_PROCESSOR}"
#define HOST_OS              "${CMAKE_SYSTEM_NAME}"

#define VERSION              "${GRN_VERSION}"
#define PACKAGE              "${PROJECT_NAME}"
#define PACKAGE_NAME         "${PROJECT_NAME}"
#define PACKAGE_LABEL        "${GRN_PROJECT_LABEL}"
#define PACKAGE_STRING       "${PROJECT_NAME} ${GRN_VERSION}"
#define PACKAGE_TARNAME      "${PROJECT_NAME}"
#define PACKAGE_URL          "${PACKAGE_URL}"
#define PACKAGE_VERSION      "${GRN_VERSION}"

/* Groonga related constants */
#define GRN_CONFIG_PATH      "${GRN_CONFIG_PATH}"
#define GRN_LOG_PATH         "${GRN_LOG_PATH}"

#define GRN_DEFAULT_DB_KEY   "${GRN_DEFAULT_DB_KEY}"
#define GRN_DEFAULT_ENCODING "${GRN_DEFAULT_ENCODING}"
#define GRN_DEFAULT_MATCH_ESCALATION_THRESHOLD \
  ${GRN_DEFAULT_MATCH_ESCALATION_THRESHOLD}
#define GRN_DEFAULT_RELATIVE_DOCUMENT_ROOT \
  "${GRN_DEFAULT_RELATIVE_DOCUMENT_ROOT}"
#define GRN_DEFAULT_DOCUMENT_ROOT \
  "${GRN_DEFAULT_DOCUMENT_ROOT}"

#define GRN_STACK_SIZE       ${GRN_STACK_SIZE}

#define GRN_LOCK_TIMEOUT     ${GRN_LOCK_TIMEOUT}
#define GRN_LOCK_WAIT_TIME_NANOSECOND \
  ${GRN_LOCK_WAIT_TIME_NANOSECOND}

#define GRN_RELATIVE_PLUGINS_DIR \
  "${GRN_RELATIVE_PLUGINS_DIR}"
#define GRN_PLUGINS_DIR      "${GRN_PLUGINS_DIR}"
#define GRN_PLUGIN_SUFFIX    "${GRN_PLUGIN_SUFFIX}"

#define GRN_RELATIVE_GGML_BACKENDS_DIR \
  "${GRN_RELATIVE_GGML_BACKENDS_DIR}"
#define GRN_GGML_BACKENDS_DIR "${GRN_GGML_BACKENDS_DIR}"

#define GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE "${GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE}"
#define GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE          "${GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE}"

#define GRN_RELATIVE_RUBY_SCRIPTS_DIR \
  "${GRN_RELATIVE_RUBY_SCRIPTS_DIR}"
#define GRN_RUBY_SCRIPTS_DIR "${GRN_RUBY_SCRIPTS_DIR}"

#define GRN_RELATIVE_LANGUAGE_MODELS_DIR \
  "${GRN_RELATIVE_LANGUAGE_MODELS_DIR}"
#define GRN_LANGUAGE_MODELS_DIR "${GRN_LANGUAGE_MODELS_DIR}"

#define GRN_DLL_FILENAME     L"${GRN_DLL_FILENAME}"

#cmakedefine GRN_WITH_WINDOWS_BACK_TRACE

/* build switches */
#cmakedefine USE_MAP_HUGETLB
#cmakedefine USE_AIO
#cmakedefine USE_EPOLL
#cmakedefine USE_FUTEX
#cmakedefine USE_KQUEUE
#cmakedefine USE_MSG_MORE
#cmakedefine USE_MSG_NOSIGNAL
#cmakedefine USE_POLL
#cmakedefine USE_SELECT

#cmakedefine GRN_WITH_MEMORY_DEBUG
#cmakedefine GRN_WITH_SIMD
#cmakedefine GRN_WITH_SIMD_AVX
#cmakedefine GRN_WITH_SIMD_AVX2
#cmakedefine GRN_WITH_SIMD_AVX512
#cmakedefine GRN_WITH_SIMD_NEON64

/* compiler specific build options */
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
#ifndef _GNU_SOURCE
 #cmakedefine _GNU_SOURCE
#endif
#cmakedefine _ISOC99_SOURCE
#cmakedefine _LARGE_FILES
#cmakedefine _NETBSD_SOURCE
#cmakedefine _XOPEN_SOURCE
#cmakedefine _XPG4_2
#cmakedefine __EXTENSIONS__

/* build environment */
#cmakedefine WORDS_BIGENDIAN

/* packages */
#cmakedefine GRN_WITH_APACHE_ARROW
#cmakedefine GRN_WITH_BENCHMARK
#cmakedefine GRN_WITH_BLOSC
#cmakedefine GRN_WITH_H3
#cmakedefine GRN_WITH_H3_BUNDLED
#cmakedefine GRN_WITH_KYTEA
#cmakedefine GRN_WITH_LIBEDIT
#cmakedefine GRN_WITH_LLAMA_CPP
#cmakedefine GRN_WITH_LZ4
#cmakedefine GRN_WITH_MECAB
#cmakedefine GRN_WITH_MESSAGE_PACK
#cmakedefine GRN_WITH_MRUBY
#cmakedefine GRN_WITH_NFKC
#cmakedefine GRN_WITH_ONIGMO
#cmakedefine GRN_WITH_RAPIDJSON
#cmakedefine GRN_WITH_ROARING_BITMAPS
#cmakedefine GRN_WITH_SIMDJSON
#cmakedefine GRN_WITH_SIMSIMD
#cmakedefine GRN_WITH_USEARCH
#cmakedefine GRN_WITH_XSIMD
#cmakedefine GRN_WITH_XXHASH
#cmakedefine GRN_WITH_ZEROMQ
#cmakedefine GRN_WITH_ZLIB
#cmakedefine GRN_WITH_ZSTD

/* headers */
#cmakedefine HAVE_DIRENT_H
#cmakedefine HAVE_DLFCN_H
#cmakedefine HAVE_ERRNO_H
#cmakedefine HAVE_EXECINFO_H
#cmakedefine HAVE_INTTYPES_H
#cmakedefine HAVE_LINUX_FUTEX_H
#cmakedefine HAVE_MEMORY_H
#cmakedefine HAVE_NETDB_H
#cmakedefine HAVE_PTHREAD_H
#cmakedefine HAVE_SIGNAL_H
#cmakedefine HAVE_SYS_MMAN_H
#cmakedefine HAVE_SYS_PARAM_H
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_SYS_SELECT_H
#cmakedefine HAVE_SYS_SOCKET_H
#cmakedefine HAVE_SYS_STAT_H
#cmakedefine HAVE_SYS_SYSCALL_H
#cmakedefine HAVE_SYS_TIME_H
#cmakedefine HAVE_SYS_WAIT_H
#cmakedefine HAVE_TIME_H
#cmakedefine HAVE_UCONTEXT_H
#cmakedefine HAVE_UNISTD_H

/* libraries */
#cmakedefine HAVE_LIBEDIT
#cmakedefine HAVE_LIBEVENT
#cmakedefine HAVE_LIBM
#cmakedefine HAVE_LIBRT

/* members */
#cmakedefine HAVE_STRUCT_TM_TM_GMTOFF

/* structs */
#cmakedefine HAVE_MECAB_DICTIONARY_INFO_T

/* functions */
#cmakedefine HAVE__GMTIME64_S
#cmakedefine HAVE__LOCALTIME64_S
#cmakedefine HAVE__STRTOUI64
#cmakedefine HAVE_BACKTRACE
#cmakedefine HAVE_CLOCK
#cmakedefine HAVE_CLOCK_GETTIME
#cmakedefine HAVE_FDATASYNC
#cmakedefine HAVE_FPCLASSIFY
#cmakedefine HAVE_FSYNC
#cmakedefine HAVE_FUTIMENS
#cmakedefine HAVE_FUTIMES
#cmakedefine HAVE_GETRUSAGE
#cmakedefine HAVE_GMTIME_R
#cmakedefine HAVE_LOCALTIME_R
#cmakedefine HAVE_MKSTEMP
#cmakedefine HAVE_STRCASECMP
#cmakedefine HAVE_STRNCASECMP
#cmakedefine HAVE_STRTOULL
