2019-01-11 13:36:30 +00:00
|
|
|
// Automatically generated by ./configure
|
2018-08-09 23:02:52 +00:00
|
|
|
#ifndef _CONFIG_H_
|
|
|
|
#define _CONFIG_H_
|
|
|
|
#define ARCH "x86_64"
|
2019-03-15 10:21:16 +00:00
|
|
|
#define BUILT_WITH "GCC GXX PKGCONFIG OSXLD LIBDL PLUGINS ZLIB SSL SASL_CYRUS ZSTD HDRHISTOGRAM LZ4_EXT SNAPPY SOCKEM SASL_SCRAM CRC32C_HW"
|
|
|
|
|
2018-08-09 23:02:52 +00:00
|
|
|
#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
|
2019-05-13 10:41:03 +00:00
|
|
|
#define ENABLE_SASL 1
|
2018-08-09 23:02:52 +00:00
|
|
|
#define MKL_APP_NAME "librdkafka"
|
|
|
|
#define MKL_APP_DESC_ONELINE "The Apache Kafka C/C++ library"
|
|
|
|
// distro
|
2019-07-22 14:14:01 +00:00
|
|
|
#define SOLIB_EXT ".so"
|
2018-08-09 23:02:52 +00:00
|
|
|
// 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 "0.11.4"
|
|
|
|
// parseversion
|
|
|
|
#define MKL_APP_VERSION "0.11.4"
|
|
|
|
// libdl
|
2019-07-22 14:14:01 +00:00
|
|
|
#define WITH_LIBDL 1
|
2018-08-09 23:02:52 +00:00
|
|
|
// WITH_PLUGINS
|
2019-07-22 14:14:01 +00:00
|
|
|
#define WITH_PLUGINS 1
|
2018-08-09 23:02:52 +00:00
|
|
|
// zlib
|
|
|
|
#define WITH_ZLIB 1
|
2019-01-16 13:49:41 +00:00
|
|
|
// zstd
|
|
|
|
#define WITH_ZSTD 1
|
2018-08-09 23:02:52 +00:00
|
|
|
// WITH_SNAPPY
|
|
|
|
#define WITH_SNAPPY 1
|
|
|
|
// WITH_SOCKEM
|
|
|
|
#define WITH_SOCKEM 1
|
|
|
|
// libssl
|
|
|
|
#define WITH_SSL 1
|
|
|
|
// WITH_SASL_SCRAM
|
2019-05-13 10:41:03 +00:00
|
|
|
#define WITH_SASL_SCRAM 1
|
2019-07-23 10:07:40 +00:00
|
|
|
// WITH_SASL_OAUTHBEARER
|
|
|
|
#define WITH_SASL_OAUTHBEARER 1
|
2018-08-09 23:02:52 +00:00
|
|
|
// crc32chw
|
2019-01-23 14:18:19 +00:00
|
|
|
#if !defined(__PPC__)
|
2018-08-09 23:02:52 +00:00
|
|
|
#define WITH_CRC32C_HW 1
|
2019-01-23 14:18:19 +00:00
|
|
|
#endif
|
2018-08-09 23:02:52 +00:00
|
|
|
// regex
|
|
|
|
#define HAVE_REGEX 1
|
|
|
|
// strndup
|
|
|
|
#define HAVE_STRNDUP 1
|
|
|
|
// strerror_r
|
|
|
|
#define HAVE_STRERROR_R 1
|
|
|
|
// pthread_setname_gnu
|
|
|
|
#define HAVE_PTHREAD_SETNAME_GNU 1
|
|
|
|
// python
|
|
|
|
//#define HAVE_PYTHON 1
|
2019-07-09 22:59:53 +00:00
|
|
|
// disable C11 threads for compatibility with old libc
|
2019-07-22 12:58:06 +00:00
|
|
|
//#define WITH_C11THREADS 1
|
2018-08-09 23:02:52 +00:00
|
|
|
#endif /* _CONFIG_H_ */
|