82377e0342
* build: add FreeBSD compilation support * build: unbreak compilation with clang libc++ unary_function is obsolete with C++11 and removed in C++17. gnu-gcc-libstdc++ still has the class, but llvm-clang-libc++ does not, and there is a compile error. vmime should have just stopped using unary_function with commit v0.9.2-48-g8564b2f8. $ cat x.cpp $ clang++ -std=c++17 -stdlib=libc++ -c x.cpp In file included from x.cpp:1: In file included from /usr/local/include/vmime/net/transport.hpp:34: In file included from /usr/local/include/vmime/net/service.hpp:36: In file included from /usr/local/include/vmime/net/session.hpp:40: In file included from /usr/local/include/vmime/utility/url.hpp:30: /usr/local/include/vmime/propertySet.hpp:339:33: error: no template named /'unary_function' in namespace 'std'; did you mean '__unary_function'? class propFinder : public std::unary_function <shared_ptr <property>, bool> { ~~~~~^~~~~~~~~~~~~~ __unary_function
100 lines
2.9 KiB
CMake
100 lines
2.9 KiB
CMake
//
|
|
// This file was automatically generated by CMake.
|
|
//
|
|
|
|
#ifndef VMIME_CONFIG_HPP_INCLUDED
|
|
#define VMIME_CONFIG_HPP_INCLUDED
|
|
|
|
|
|
#include "vmime/export.hpp"
|
|
|
|
|
|
// Name of package
|
|
#define VMIME_PACKAGE "@PROJECT_NAME@"
|
|
|
|
// Version number of package
|
|
#define VMIME_VERSION "@VMIME_VERSION@"
|
|
#define VMIME_API "@VMIME_API_VERSION@"
|
|
|
|
// 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
|
|
#cmakedefine01 VMIME_HAVE_CSTDINT
|
|
#if VMIME_HAVE_CSTDINT
|
|
# include <cstdint>
|
|
#endif
|
|
|
|
// -- 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;
|
|
// -- 64-bit
|
|
typedef signed @VMIME_64BIT_TYPE@ vmime_int64;
|
|
typedef unsigned @VMIME_64BIT_TYPE@ vmime_uint64;
|
|
|
|
#cmakedefine01 VMIME_HAVE_SIZE_T
|
|
|
|
// Charset conversion support
|
|
#cmakedefine01 VMIME_CHARSETCONV_LIB_IS_ICONV
|
|
#cmakedefine01 VMIME_CHARSETCONV_LIB_IS_ICU
|
|
#cmakedefine01 VMIME_CHARSETCONV_LIB_IS_WIN
|
|
|
|
// 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
|
|
#cmakedefine01 VMIME_TLS_SUPPORT_LIB_IS_OPENSSL
|
|
#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
|
|
#cmakedefine01 VMIME_HAVE_GETADDRINFO_A
|
|
#cmakedefine01 VMIME_HAVE_GETTID
|
|
#cmakedefine01 VMIME_HAVE_SYSCALL
|
|
#cmakedefine01 VMIME_HAVE_SYSCALL_GETTID
|
|
#cmakedefine01 VMIME_HAVE_GETTHRID
|
|
#cmakedefine01 VMIME_HAVE_THR_SELF
|
|
#cmakedefine01 VMIME_HAVE_LWP_SELF
|
|
#cmakedefine01 VMIME_HAVE_GMTIME_S
|
|
#cmakedefine01 VMIME_HAVE_GMTIME_R
|
|
#cmakedefine01 VMIME_HAVE_LOCALTIME_S
|
|
#cmakedefine01 VMIME_HAVE_LOCALTIME_R
|
|
#cmakedefine01 VMIME_HAVE_STRERROR_R
|
|
#cmakedefine01 VMIME_HAVE_MLANG
|
|
#cmakedefine01 VMIME_HAVE_SO_KEEPALIVE
|
|
#cmakedefine01 VMIME_HAVE_SO_NOSIGPIPE
|
|
#cmakedefine01 VMIME_HAVE_MSG_NOSIGNAL
|
|
#cmakedefine01 VMIME_SHARED_PTR_USE_CXX
|
|
#cmakedefine01 VMIME_SHARED_PTR_USE_BOOST
|
|
|
|
|
|
#define VMIME_SENDMAIL_PATH "@VMIME_SENDMAIL_PATH@"
|
|
|
|
|
|
#endif // VMIME_CONFIG_HPP_INCLUDED
|
|
|