2012-11-01 17:20:06 +00:00
|
|
|
//
|
|
|
|
// This file was automatically generated by CMake.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef VMIME_CONFIG_HPP_INCLUDED
|
|
|
|
#define VMIME_CONFIG_HPP_INCLUDED
|
|
|
|
|
|
|
|
|
2013-05-12 14:51:40 +00:00
|
|
|
#include "vmime/export.hpp"
|
|
|
|
|
|
|
|
|
2012-11-01 17:20:06 +00:00
|
|
|
// Name of package
|
|
|
|
#define VMIME_PACKAGE "@PROJECT_NAME@"
|
|
|
|
|
|
|
|
// Version number of package
|
|
|
|
#define VMIME_VERSION "@VMIME_VERSION@"
|
|
|
|
#define VMIME_API "@VMIME_API_VERSION@"
|
|
|
|
|
|
|
|
// Target OS and architecture
|
|
|
|
#define VMIME_TARGET_ARCH "@CMAKE_TARGET_ARCHITECTURES@"
|
|
|
|
#define VMIME_TARGET_OS "@CMAKE_SYSTEM_NAME@"
|
|
|
|
|
|
|
|
// Set to 1 if debugging should be activated
|
|
|
|
#define VMIME_DEBUG @VMIME_DEBUG@
|
|
|
|
|
|
|
|
// Byte order (set one or the other, but not both!)
|
|
|
|
#define VMIME_BYTE_ORDER_BIG_ENDIAN @VMIME_BYTE_ORDER_BIG_ENDIAN@
|
|
|
|
#define VMIME_BYTE_ORDER_LITTLE_ENDIAN @VMIME_BYTE_ORDER_LITTLE_ENDIAN@
|
|
|
|
|
|
|
|
// Generic types
|
2013-09-02 08:12:08 +00:00
|
|
|
#cmakedefine01 VMIME_HAVE_CSTDINT
|
|
|
|
#if VMIME_HAVE_CSTDINT
|
|
|
|
# include <cstdint>
|
|
|
|
#endif
|
|
|
|
|
2012-11-01 17:20:06 +00:00
|
|
|
// -- 8-bit
|
|
|
|
typedef signed @VMIME_8BIT_TYPE@ vmime_int8;
|
|
|
|
typedef unsigned @VMIME_8BIT_TYPE@ vmime_uint8;
|
|
|
|
// -- 16-bit
|
|
|
|
typedef signed @VMIME_16BIT_TYPE@ vmime_int16;
|
|
|
|
typedef unsigned @VMIME_16BIT_TYPE@ vmime_uint16;
|
|
|
|
// -- 32-bit
|
|
|
|
typedef signed @VMIME_32BIT_TYPE@ vmime_int32;
|
|
|
|
typedef unsigned @VMIME_32BIT_TYPE@ vmime_uint32;
|
2013-07-15 08:35:09 +00:00
|
|
|
// -- 64-bit
|
|
|
|
typedef signed @VMIME_64BIT_TYPE@ vmime_int64;
|
|
|
|
typedef unsigned @VMIME_64BIT_TYPE@ vmime_uint64;
|
2012-11-01 17:20:06 +00:00
|
|
|
|
2012-12-12 15:35:55 +00:00
|
|
|
#cmakedefine01 VMIME_HAVE_SIZE_T
|
|
|
|
|
2013-03-25 11:32:48 +00:00
|
|
|
// Charset conversion support
|
|
|
|
#cmakedefine01 VMIME_CHARSETCONV_LIB_IS_ICONV
|
|
|
|
#cmakedefine01 VMIME_CHARSETCONV_LIB_IS_ICU
|
2014-02-06 20:29:59 +00:00
|
|
|
#cmakedefine01 VMIME_CHARSETCONV_LIB_IS_WIN
|
2013-03-25 11:32:48 +00:00
|
|
|
|
2012-11-01 17:20:06 +00:00
|
|
|
// Options
|
|
|
|
// -- File-system support
|
|
|
|
#cmakedefine01 VMIME_HAVE_FILESYSTEM_FEATURES
|
|
|
|
// -- SASL support
|
|
|
|
#cmakedefine01 VMIME_HAVE_SASL_SUPPORT
|
|
|
|
// -- TLS/SSL support
|
|
|
|
#cmakedefine01 VMIME_HAVE_TLS_SUPPORT
|
|
|
|
#cmakedefine01 VMIME_TLS_SUPPORT_LIB_IS_GNUTLS
|
2012-11-03 08:27:12 +00:00
|
|
|
#cmakedefine01 VMIME_TLS_SUPPORT_LIB_IS_OPENSSL
|
2012-11-01 17:20:06 +00:00
|
|
|
#define VMIME_HAVE_GNUTLS_PRIORITY_FUNCS @VMIME_HAVE_GNUTLS_PRIORITY_FUNCS@
|
|
|
|
// -- Messaging support
|
|
|
|
#cmakedefine01 VMIME_HAVE_MESSAGING_FEATURES
|
|
|
|
// -- Messaging protocols
|
|
|
|
#cmakedefine01 VMIME_HAVE_MESSAGING_PROTO_POP3
|
|
|
|
#cmakedefine01 VMIME_HAVE_MESSAGING_PROTO_SMTP
|
|
|
|
#cmakedefine01 VMIME_HAVE_MESSAGING_PROTO_IMAP
|
|
|
|
#cmakedefine01 VMIME_HAVE_MESSAGING_PROTO_MAILDIR
|
|
|
|
#cmakedefine01 VMIME_HAVE_MESSAGING_PROTO_SENDMAIL
|
|
|
|
// -- Platform-specific code
|
|
|
|
#cmakedefine01 VMIME_PLATFORM_IS_POSIX
|
|
|
|
#cmakedefine01 VMIME_PLATFORM_IS_WINDOWS
|
|
|
|
#cmakedefine01 VMIME_HAVE_PTHREAD
|
|
|
|
#cmakedefine01 VMIME_HAVE_GETADDRINFO
|
2016-03-02 19:33:55 +00:00
|
|
|
#cmakedefine01 VMIME_HAVE_GETADDRINFO_A
|
2012-11-03 08:27:12 +00:00
|
|
|
#cmakedefine01 VMIME_HAVE_GETTID
|
|
|
|
#cmakedefine01 VMIME_HAVE_SYSCALL
|
|
|
|
#cmakedefine01 VMIME_HAVE_SYSCALL_GETTID
|
2013-02-05 13:21:21 +00:00
|
|
|
#cmakedefine01 VMIME_HAVE_GMTIME_S
|
|
|
|
#cmakedefine01 VMIME_HAVE_GMTIME_R
|
|
|
|
#cmakedefine01 VMIME_HAVE_LOCALTIME_S
|
|
|
|
#cmakedefine01 VMIME_HAVE_LOCALTIME_R
|
2013-02-10 20:12:41 +00:00
|
|
|
#cmakedefine01 VMIME_HAVE_MLANG
|
2016-02-28 19:43:43 +00:00
|
|
|
#cmakedefine01 VMIME_HAVE_SO_KEEPALIVE
|
2013-11-21 21:16:57 +00:00
|
|
|
#cmakedefine01 VMIME_SHARED_PTR_USE_CXX
|
|
|
|
#cmakedefine01 VMIME_SHARED_PTR_USE_BOOST
|
2012-11-01 17:20:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
#define VMIME_SENDMAIL_PATH "@VMIME_SENDMAIL_PATH@"
|
|
|
|
|
|
|
|
|
|
|
|
#endif // VMIME_CONFIG_HPP_INCLUDED
|
|
|
|
|