// Copyright (c) 2017-2021 The Bitcoin developers

#pragma once

#define PACKAGE_NAME "${PACKAGE_NAME}"

#define COPYRIGHT_YEAR "${COPYRIGHT_YEAR}"
#define COPYRIGHT_HOLDERS "${COPYRIGHT_HOLDERS}"
#define COPYRIGHT_HOLDERS_SUBSTITUTION "${COPYRIGHT_HOLDERS_SUBSTITUTION}"
#define COPYRIGHT_HOLDERS_FINAL "${COPYRIGHT_HOLDERS_FINAL}"

#cmakedefine HAVE_ENDIAN_H 1
#cmakedefine HAVE_SYS_ENDIAN_H 1

#cmakedefine HAVE_DECL_HTOLE16 1
#cmakedefine HAVE_DECL_HTOBE16 1
#cmakedefine HAVE_DECL_BE16TOH 1
#cmakedefine HAVE_DECL_LE16TOH 1
#cmakedefine HAVE_DECL_HTOBE32 1
#cmakedefine HAVE_DECL_HTOLE32 1
#cmakedefine HAVE_DECL_BE32TOH 1
#cmakedefine HAVE_DECL_LE32TOH 1
#cmakedefine HAVE_DECL_HTOBE64 1
#cmakedefine HAVE_DECL_HTOLE64 1
#cmakedefine HAVE_DECL_BE64TOH 1
#cmakedefine HAVE_DECL_LE64TOH 1

#cmakedefine HAVE_BYTESWAP_H 1

#cmakedefine HAVE_DECL_BSWAP_16 1
#cmakedefine HAVE_DECL_BSWAP_32 1
#cmakedefine HAVE_DECL_BSWAP_64 1

#cmakedefine HAVE_SYS_SELECT_H 1
#cmakedefine HAVE_SYS_PRCTL_H 1

#cmakedefine HAVE_DECL___BUILTIN_CLZ 1
#cmakedefine HAVE_DECL___BUILTIN_CLZL 1
#cmakedefine HAVE_DECL___BUILTIN_CLZLL 1
#cmakedefine HAVE_DECL___BUILTIN_POPCOUNT 1

#cmakedefine HAVE_X86_BUILTIN_CPU_SUPPORTS 1

#cmakedefine HAVE_MALLOPT_ARENA_MAX 1
#cmakedefine HAVE_MALLOC_INFO 1

#cmakedefine HAVE_DECL_STRNLEN 1
#cmakedefine HAVE_DECL_DAEMON 1
#cmakedefine HAVE_DECL_GETIFADDRS 1
#cmakedefine HAVE_DECL_FREEIFADDRS 1
#cmakedefine HAVE_GETENTROPY 1
#cmakedefine HAVE_GETENTROPY_RAND 1
#cmakedefine HAVE_SYS_GETRANDOM 1
#cmakedefine HAVE_SYSCTL_ARND 1

#cmakedefine CHAR_EQUALS_INT8 0
#cmakedefine HAVE_LARGE_FILE_SUPPORT 1

#cmakedefine HAVE_FUNC_ATTRIBUTE_VISIBILITY 1
#cmakedefine HAVE_FUNC_ATTRIBUTE_DLLEXPORT 1

#define FDELT_TYPE ${FDELT_TYPE}

#cmakedefine ENABLE_WALLET 1
#cmakedefine ENABLE_ZMQ 1

/* Define if QR support should be compiled in */
#cmakedefine USE_QRCODE 1

/* UPnP support not compiled if undefined */
#cmakedefine ENABLE_UPNP
#ifdef ENABLE_UPNP
/* Value (0 or 1) determines the UPnP default state at startup. */
#cmakedefine01 USE_UPNP
#endif

/* NAT-PMP support not compiled if undefined */
#cmakedefine ENABLE_NATPMP
#ifdef ENABLE_NATPMP
/* Value (0 or 1) determines the NATPMP default state at startup. */
#cmakedefine01 USE_NATPMP
#endif

/* Define if QtDBus support should be enabled */
#cmakedefine USE_DBUS 1

/* Define if we have __int128 */
#cmakedefine01 HAVE_INT128

/* Define to 1 if strerror_r returns char *. */
#cmakedefine STRERROR_R_CHAR_P 1

/* Define to 1 if compiler has -Wstringop-overflow (usually GCC) */
#cmakedefine HAVE_W_STRINGOP_OVERFLOW 1
