mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
98 lines
2.5 KiB
C
98 lines
2.5 KiB
C
// Originally generated by ./configure
|
|
#ifndef _CONFIG_H_
|
|
#define _CONFIG_H_
|
|
#define BUILT_WITH "GCC GXX PKGCONFIG OSXLD LIBDL PLUGINS ZLIB SSL SASL_CYRUS ZSTD HDRHISTOGRAM LZ4_EXT SNAPPY SOCKEM SASL_SCRAM CRC32C_HW"
|
|
|
|
#define CPU "generic"
|
|
#define WITHOUT_OPTIMIZATION 0
|
|
#define ENABLE_DEVEL 0
|
|
#define ENABLE_VALGRIND 0
|
|
#define ENABLE_REFCNT_DEBUG 0
|
|
#define ENABLE_SHAREDPTR_DEBUG 0
|
|
#define ENABLE_LZ4_EXT 1
|
|
#define ENABLE_SSL 1
|
|
#define ENABLE_SASL 1
|
|
#define MKL_APP_NAME "librdkafka"
|
|
#define MKL_APP_DESC_ONELINE "The Apache Kafka C/C++ library"
|
|
// distro
|
|
#define SOLIB_EXT ".so"
|
|
// gcc
|
|
//#define WITH_GCC 1
|
|
// gxx
|
|
//#define WITH_GXX 1
|
|
// pkgconfig
|
|
//#define WITH_PKGCONFIG 1
|
|
// install
|
|
//#define WITH_INSTALL 1
|
|
// PIC
|
|
//#define HAVE_PIC 1
|
|
// gnulib
|
|
//#define WITH_GNULD 1
|
|
// __atomic_32
|
|
#define HAVE_ATOMICS_32 1
|
|
// __atomic_32
|
|
#define HAVE_ATOMICS_32_ATOMIC 1
|
|
// atomic_32
|
|
#define ATOMIC_OP32(OP1,OP2,PTR,VAL) __atomic_ ## OP1 ## _ ## OP2(PTR, VAL, __ATOMIC_SEQ_CST)
|
|
// __atomic_64
|
|
#define HAVE_ATOMICS_64 1
|
|
// __atomic_64
|
|
#define HAVE_ATOMICS_64_ATOMIC 1
|
|
// atomic_64
|
|
#define ATOMIC_OP64(OP1,OP2,PTR,VAL) __atomic_ ## OP1 ## _ ## OP2(PTR, VAL, __ATOMIC_SEQ_CST)
|
|
// atomic_64
|
|
#define ATOMIC_OP(OP1,OP2,PTR,VAL) __atomic_ ## OP1 ## _ ## OP2(PTR, VAL, __ATOMIC_SEQ_CST)
|
|
// parseversion
|
|
#define RDKAFKA_VERSION_STR "1.6.0"
|
|
// parseversion
|
|
#define MKL_APP_VERSION "1.6.0"
|
|
// libdl
|
|
#define WITH_LIBDL 1
|
|
// WITH_PLUGINS
|
|
#define WITH_PLUGINS 1
|
|
// zlib
|
|
#define WITH_ZLIB 1
|
|
// zstd
|
|
#define WITH_ZSTD 1
|
|
// WITH_SNAPPY
|
|
#define WITH_SNAPPY 1
|
|
// WITH_SOCKEM
|
|
#define WITH_SOCKEM 1
|
|
// libssl
|
|
#cmakedefine WITH_SSL 1
|
|
// WITH_SASL_SCRAM
|
|
#cmakedefine WITH_SASL_SCRAM 1
|
|
// WITH_SASL_OAUTHBEARER
|
|
#cmakedefine WITH_SASL_OAUTHBEARER 1
|
|
#cmakedefine WITH_SASL_CYRUS 1
|
|
// crc32chw
|
|
#if !defined(__PPC__) && (!defined(__aarch64__) || defined(__ARM_FEATURE_CRC32)) && !(defined(__aarch64__) && defined(__APPLE__))
|
|
#define WITH_CRC32C_HW 1
|
|
#endif
|
|
// regex
|
|
#define HAVE_REGEX 1
|
|
// strndup
|
|
#define HAVE_STRNDUP 1
|
|
// strerror_r
|
|
#define HAVE_STRERROR_R 1
|
|
// rand_r
|
|
#define HAVE_RAND_R 1
|
|
|
|
#ifdef __APPLE__
|
|
// pthread_setname_np
|
|
#define HAVE_PTHREAD_SETNAME_DARWIN 1
|
|
#if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ <= 101400)
|
|
#define _TTHREAD_EMULATE_TIMESPEC_GET_
|
|
#endif
|
|
#elif defined(__FreeBSD__)
|
|
#define HAVE_PTHREAD_SETNAME_FREEBSD 1
|
|
#else
|
|
// pthread_setname_gnu
|
|
#define HAVE_PTHREAD_SETNAME_GNU 1
|
|
#endif
|
|
// python
|
|
//#define HAVE_PYTHON 1
|
|
// disable C11 threads for compatibility with old libc
|
|
//#define WITH_C11THREADS 1
|
|
#endif /* _CONFIG_H_ */
|