2004-12-27 09:15:06 +08:00
|
|
|
/* config.h.in. Generated from configure.in by autoheader. */
|
1999-11-21 17:36:43 +08:00
|
|
|
|
2015-10-08 22:36:23 +08:00
|
|
|
/* define if you want to build the possibly-buggy SMB printer */
|
|
|
|
#undef ENABLE_SMB
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `alarm' function. */
|
2004-01-16 03:53:48 +08:00
|
|
|
#undef HAVE_ALARM
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `bpf_dump' function. */
|
2000-12-12 17:19:27 +08:00
|
|
|
#undef HAVE_BPF_DUMP
|
|
|
|
|
2014-07-11 03:19:39 +08:00
|
|
|
/* capsicum support available */
|
|
|
|
#undef HAVE_CAPSICUM
|
|
|
|
|
2017-02-03 04:19:28 +08:00
|
|
|
/* Define to 1 if you have the `cap_enter' function. */
|
|
|
|
#undef HAVE_CAP_ENTER
|
2014-07-11 03:19:39 +08:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `cap_ioctls_limit' function. */
|
|
|
|
#undef HAVE_CAP_IOCTLS_LIMIT
|
|
|
|
|
2015-02-15 22:32:23 +08:00
|
|
|
/* Define to 1 if you have the <cap-ng.h> header file. */
|
|
|
|
#undef HAVE_CAP_NG_H
|
|
|
|
|
2014-07-11 03:19:39 +08:00
|
|
|
/* Define to 1 if you have the `cap_rights_limit' function. */
|
|
|
|
#undef HAVE_CAP_RIGHTS_LIMIT
|
|
|
|
|
2017-02-03 04:19:28 +08:00
|
|
|
/* Casper support available */
|
|
|
|
#undef HAVE_CASPER
|
|
|
|
|
2005-03-28 06:38:09 +08:00
|
|
|
/* Define to 1 if you have the declaration of `ether_ntohost', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_ETHER_NTOHOST
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if you have the dnet_htoa function */
|
|
|
|
#undef HAVE_DNET_HTOA
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `ether_ntohost' function. */
|
1999-12-15 00:34:41 +08:00
|
|
|
#undef HAVE_ETHER_NTOHOST
|
1999-11-21 17:36:43 +08:00
|
|
|
|
2017-09-01 19:00:38 +08:00
|
|
|
/* Define to 1 if you have the `EVP_CipherInit_ex' function. */
|
|
|
|
#undef HAVE_EVP_CIPHERINIT_EX
|
|
|
|
|
2016-06-23 12:14:40 +08:00
|
|
|
/* Define to 1 if you have the `EVP_CIPHER_CTX_new' function. */
|
|
|
|
#undef HAVE_EVP_CIPHER_CTX_NEW
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_FCNTL_H
|
|
|
|
|
2010-12-01 08:18:32 +08:00
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
|
|
#undef HAVE_FORK
|
|
|
|
|
2014-05-01 06:28:06 +08:00
|
|
|
/* Define to 1 if you have the `getopt_long' function. */
|
|
|
|
#undef HAVE_GETOPT_LONG
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if you have getrpcbynumber() */
|
|
|
|
#undef HAVE_GETRPCBYNUMBER
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
|
2015-02-15 22:32:23 +08:00
|
|
|
/* Define to 1 if you have the `cap-ng' library (-lcap-ng). */
|
|
|
|
#undef HAVE_LIBCAP_NG
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `crypto' library (-lcrypto). */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_LIBCRYPTO
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `rpc' library (-lrpc). */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_LIBRPC
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <netdnet/dnetdb.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_NETDNET_DNETDB_H
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if you have a dnet_htoa declaration in <netdnet/dnetdb.h> */
|
|
|
|
#undef HAVE_NETDNET_DNETDB_H_DNET_HTOA
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <netinet/ether.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_NETINET_ETHER_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <netinet/if_ether.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_NETINET_IF_ETHER_H
|
|
|
|
|
2015-05-18 01:47:30 +08:00
|
|
|
/* Define to 1 if you have the <net/if_pflog.h> header file. */
|
|
|
|
#undef HAVE_NET_IF_PFLOG_H
|
|
|
|
|
2007-09-13 03:36:18 +08:00
|
|
|
/* Define to 1 if you have the <net/pfvar.h> header file. */
|
|
|
|
#undef HAVE_NET_PFVAR_H
|
|
|
|
|
2014-07-11 03:19:39 +08:00
|
|
|
/* Define to 1 if you have the `openat' function. */
|
|
|
|
#undef HAVE_OPENAT
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <openssl/evp.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_OPENSSL_EVP_H
|
|
|
|
|
2015-09-18 05:56:44 +08:00
|
|
|
/* define if the OS provides AF_INET6 and struct in6_addr */
|
|
|
|
#undef HAVE_OS_IPV6_SUPPORT
|
|
|
|
|
2009-07-03 09:59:24 +08:00
|
|
|
/* if there's an os_proto.h for this platform, to use additional prototypes */
|
|
|
|
#undef HAVE_OS_PROTO_H
|
|
|
|
|
2008-09-26 05:45:50 +08:00
|
|
|
/* Define to 1 if you have the <pcap/bluetooth.h> header file. */
|
|
|
|
#undef HAVE_PCAP_BLUETOOTH_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `pcap_breakloop' function. */
|
2003-11-04 15:29:15 +08:00
|
|
|
#undef HAVE_PCAP_BREAKLOOP
|
|
|
|
|
2008-04-05 03:42:11 +08:00
|
|
|
/* Define to 1 if you have the `pcap_create' function. */
|
|
|
|
#undef HAVE_PCAP_CREATE
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if libpcap has pcap_datalink_name_to_val() */
|
|
|
|
#undef HAVE_PCAP_DATALINK_NAME_TO_VAL
|
|
|
|
|
|
|
|
/* define if libpcap has pcap_datalink_val_to_description() */
|
|
|
|
#undef HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION
|
|
|
|
|
|
|
|
/* define if libpcap has pcap_debug */
|
|
|
|
#undef HAVE_PCAP_DEBUG
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `pcap_dump_flush' function. */
|
2002-12-22 08:15:26 +08:00
|
|
|
#undef HAVE_PCAP_DUMP_FLUSH
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if libpcap has pcap_dump_ftell() */
|
|
|
|
#undef HAVE_PCAP_DUMP_FTELL
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `pcap_findalldevs' function. */
|
2002-08-04 06:37:01 +08:00
|
|
|
#undef HAVE_PCAP_FINDALLDEVS
|
|
|
|
|
2014-05-20 01:56:52 +08:00
|
|
|
/* Define to 1 if you have the `pcap_free_datalinks' function. */
|
|
|
|
#undef HAVE_PCAP_FREE_DATALINKS
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if the system has the type `pcap_if_t'. */
|
2004-03-24 02:59:23 +08:00
|
|
|
#undef HAVE_PCAP_IF_T
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `pcap_lib_version' function. */
|
2003-02-11 15:41:52 +08:00
|
|
|
#undef HAVE_PCAP_LIB_VERSION
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if libpcap has pcap_list_datalinks() */
|
|
|
|
#undef HAVE_PCAP_LIST_DATALINKS
|
|
|
|
|
2014-02-03 12:14:26 +08:00
|
|
|
/* Define to 1 if you have the <pcap/nflog.h> header file. */
|
|
|
|
#undef HAVE_PCAP_NFLOG_H
|
|
|
|
|
2013-10-18 07:50:43 +08:00
|
|
|
/* Define to 1 if you have the `pcap_setdirection' function. */
|
|
|
|
#undef HAVE_PCAP_SETDIRECTION
|
|
|
|
|
2014-05-20 01:56:52 +08:00
|
|
|
/* Define to 1 if you have the `pcap_set_datalink' function. */
|
2013-05-13 06:28:28 +08:00
|
|
|
#undef HAVE_PCAP_SET_DATALINK
|
|
|
|
|
2015-02-11 06:55:43 +08:00
|
|
|
/* Define to 1 if you have the `pcap_set_immediate_mode' function. */
|
|
|
|
#undef HAVE_PCAP_SET_IMMEDIATE_MODE
|
|
|
|
|
2015-12-31 10:49:37 +08:00
|
|
|
/* Define to 1 if you have the `pcap_set_optimizer_debug' function. */
|
|
|
|
#undef HAVE_PCAP_SET_OPTIMIZER_DEBUG
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_set_parser_debug' function. */
|
|
|
|
#undef HAVE_PCAP_SET_PARSER_DEBUG
|
|
|
|
|
2014-06-26 03:06:35 +08:00
|
|
|
/* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
|
|
|
|
#undef HAVE_PCAP_SET_TSTAMP_PRECISION
|
|
|
|
|
2010-08-23 08:32:26 +08:00
|
|
|
/* Define to 1 if you have the `pcap_set_tstamp_type' function. */
|
|
|
|
#undef HAVE_PCAP_SET_TSTAMP_TYPE
|
|
|
|
|
2009-04-05 03:30:27 +08:00
|
|
|
/* Define to 1 if you have the <pcap/usb.h> header file. */
|
|
|
|
#undef HAVE_PCAP_USB_H
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if libpcap has pcap_version */
|
|
|
|
#undef HAVE_PCAP_VERSION
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `pfopen' function. */
|
1999-11-21 17:36:43 +08:00
|
|
|
#undef HAVE_PFOPEN
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <rpc/rpcent.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_RPC_RPCENT_H
|
|
|
|
|
2011-09-03 12:31:09 +08:00
|
|
|
/* Define to 1 if you have the <rpc/rpc.h> header file. */
|
|
|
|
#undef HAVE_RPC_RPC_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `setlinebuf' function. */
|
1999-11-21 17:36:43 +08:00
|
|
|
#undef HAVE_SETLINEBUF
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `sigaction' function. */
|
1999-11-21 17:36:43 +08:00
|
|
|
#undef HAVE_SIGACTION
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `sigset' function. */
|
1999-11-21 17:36:43 +08:00
|
|
|
#undef HAVE_SIGSET
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
2000-01-08 14:00:59 +08:00
|
|
|
#undef HAVE_SNPRINTF
|
|
|
|
|
2009-07-03 10:01:20 +08:00
|
|
|
/* if struct sockaddr has the sa_len member */
|
2009-07-03 09:59:24 +08:00
|
|
|
#undef HAVE_SOCKADDR_SA_LEN
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `strdup' function. */
|
2001-01-20 15:22:20 +08:00
|
|
|
#undef HAVE_STRDUP
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `strftime' function. */
|
2003-08-06 12:51:23 +08:00
|
|
|
#undef HAVE_STRFTIME
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `strlcat' function. */
|
2000-01-19 13:34:41 +08:00
|
|
|
#undef HAVE_STRLCAT
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `strlcpy' function. */
|
2000-01-19 13:34:41 +08:00
|
|
|
#undef HAVE_STRLCPY
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `strsep' function. */
|
2003-03-03 07:19:33 +08:00
|
|
|
#undef HAVE_STRSEP
|
|
|
|
|
2005-04-20 19:17:18 +08:00
|
|
|
/* Define to 1 if the system has the type `struct ether_addr'. */
|
|
|
|
#undef HAVE_STRUCT_ETHER_ADDR
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2015-03-03 05:25:12 +08:00
|
|
|
/* Define to 1 if the system has the type `uintptr_t'. */
|
|
|
|
#undef HAVE_UINTPTR_T
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
2010-12-01 08:18:32 +08:00
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
|
|
|
#undef HAVE_VFORK
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `vfprintf' function. */
|
1999-11-21 17:36:43 +08:00
|
|
|
#undef HAVE_VFPRINTF
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the `vsnprintf' function. */
|
2000-01-08 14:00:59 +08:00
|
|
|
#undef HAVE_VSNPRINTF
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if libpcap has yydebug */
|
|
|
|
#undef HAVE_YYDEBUG
|
|
|
|
|
2004-01-14 11:15:08 +08:00
|
|
|
/* define if your compiler has __attribute__ */
|
|
|
|
#undef HAVE___ATTRIBUTE__
|
1999-11-21 17:36:43 +08:00
|
|
|
|
2009-07-03 09:59:24 +08:00
|
|
|
/* if unaligned access fails */
|
|
|
|
#undef LBL_ALIGN
|
|
|
|
|
2005-03-28 06:38:09 +08:00
|
|
|
/* Define to 1 if netinet/ether.h declares `ether_ntohost' */
|
2005-03-28 06:44:22 +08:00
|
|
|
#undef NETINET_ETHER_H_DECLARES_ETHER_NTOHOST
|
2005-03-28 06:38:09 +08:00
|
|
|
|
|
|
|
/* Define to 1 if netinet/if_ether.h declares `ether_ntohost' */
|
2005-03-28 06:44:22 +08:00
|
|
|
#undef NETINET_IF_ETHER_H_DECLARES_ETHER_NTOHOST
|
2005-03-28 06:38:09 +08:00
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
2013-10-18 07:50:43 +08:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if the platform doesn't define PRId64 */
|
|
|
|
#undef PRId64
|
|
|
|
|
|
|
|
/* define if the platform doesn't define PRIo64 */
|
|
|
|
#undef PRIo64
|
|
|
|
|
|
|
|
/* define if the platform doesn't define PRIx64 */
|
|
|
|
#undef PRIu64
|
|
|
|
|
|
|
|
/* define if the platform doesn't define PRIu64 */
|
|
|
|
#undef PRIx64
|
|
|
|
|
2004-01-14 11:15:08 +08:00
|
|
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
|
|
|
#undef RETSIGTYPE
|
1999-12-15 00:34:41 +08:00
|
|
|
|
2009-07-03 09:59:24 +08:00
|
|
|
/* return value of signal handlers */
|
|
|
|
#undef RETSIGVAL
|
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef STDC_HEADERS
|
2000-04-01 20:26:12 +08:00
|
|
|
|
2004-12-27 09:15:06 +08:00
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if you have ether_ntohost() and it works */
|
|
|
|
#undef USE_ETHER_NTOHOST
|
|
|
|
|
Clean up configure check for libsmi.
First, check for smi.h. If we don't have it, don't check for anything
else.
If we do have it, check for libsmi containing smiInit. If we don't have
it, don't check for anything else.
If we do have it, check, with our test program, whether we can use it.
If that succeeds, prepend -lsmi to LIBS, and set USE_LIBSMI. Otherwise,
don't do either of those.
Check, in source, *only* for USE_LIBSMI. If it's set, use libsmi,
otherwise don't - don't even include smi.h, even if we happened to have
found it, and don't print the libsmi version string.
2014-09-01 02:57:04 +08:00
|
|
|
/* Define if you enable support for libsmi */
|
|
|
|
#undef USE_LIBSMI
|
|
|
|
|
2013-05-13 06:28:28 +08:00
|
|
|
/* define if should chroot when dropping privileges */
|
|
|
|
#undef WITH_CHROOT
|
|
|
|
|
|
|
|
/* define if should drop privileges by default */
|
|
|
|
#undef WITH_USER
|
|
|
|
|
2009-07-03 09:59:24 +08:00
|
|
|
/* get BSD semantics on Irix */
|
|
|
|
#undef _BSD_SIGNALS
|
|
|
|
|
2010-04-16 18:31:04 +08:00
|
|
|
/* define on AIX to get certain functions */
|
|
|
|
#undef _SUN
|
|
|
|
|
2013-06-24 05:03:38 +08:00
|
|
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
2013-10-18 07:50:43 +08:00
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
2013-06-24 05:03:38 +08:00
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#undef _UINT32_T
|
|
|
|
|
|
|
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
2013-10-18 07:50:43 +08:00
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
2013-06-24 05:03:38 +08:00
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#undef _UINT64_T
|
|
|
|
|
|
|
|
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
2013-10-18 07:50:43 +08:00
|
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
2013-06-24 05:03:38 +08:00
|
|
|
#define below would cause a syntax error. */
|
|
|
|
#undef _UINT8_T
|
|
|
|
|
Check for __attribute__ ((fallthrough)) (GCC 7).
The documentation claims that recent GCC is now better by default at
spotting cases of code flow falling through (which is true) and that it
avoids false positives by matching nearby source code comments with
regexps. However, the latter feature doesn't seem to work as reliably
as the manual describes it, so let's have a macro for this purpose.
Tested to work on:
* x86_64, Fedora 26, GCC 7.1.1 (w/__attribute__, w/fallthrough)
* x86_64, Ubuntu 16.04, GCC 5.4.0 (w/__attribute__, w/o fallthrough)
* x86_64, FreeBSD 11.0, CLang 3.8.0 (w/__attribute__, w/o fallthrough)
* SPARC, Solaris 10, SolStudio 12.4 (w/__attribute__, w/o fallthrough)
* SPARC, Solaris 10, SunStudio 11 (w/o __attribute__)
2017-07-22 05:04:15 +08:00
|
|
|
/* define if your compiler allows __attribute__((fallthrough)) without a
|
|
|
|
warning */
|
|
|
|
#undef __ATTRIBUTE___FALLTHROUGH_OK
|
|
|
|
|
2009-07-03 10:28:34 +08:00
|
|
|
/* to handle Ultrix compilers that don't support const in prototypes */
|
|
|
|
#undef const
|
|
|
|
|
2005-04-21 10:21:47 +08:00
|
|
|
/* Define as token for inline if inlining supported */
|
2004-01-14 11:15:08 +08:00
|
|
|
#undef inline
|
2005-04-20 17:44:30 +08:00
|
|
|
|
2013-06-24 05:03:38 +08:00
|
|
|
/* Define to the type of a signed integer type of width exactly 16 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
2005-04-20 17:44:30 +08:00
|
|
|
#undef int16_t
|
|
|
|
|
2013-06-24 05:03:38 +08:00
|
|
|
/* Define to the type of a signed integer type of width exactly 32 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
2005-04-20 17:44:30 +08:00
|
|
|
#undef int32_t
|
|
|
|
|
2013-06-24 05:03:38 +08:00
|
|
|
/* Define to the type of a signed integer type of width exactly 64 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
2005-04-20 17:44:30 +08:00
|
|
|
#undef int64_t
|
|
|
|
|
2013-06-24 05:03:38 +08:00
|
|
|
/* Define to the type of a signed integer type of width exactly 8 bits if such
|
|
|
|
a type exists and the standard includes do not define it. */
|
2005-04-20 17:44:30 +08:00
|
|
|
#undef int8_t
|
|
|
|
|
2014-04-24 01:56:20 +08:00
|
|
|
/* Define to `uint16_t' if u_int16_t not defined. */
|
|
|
|
#undef u_int16_t
|
|
|
|
|
|
|
|
/* Define to `uint32_t' if u_int32_t not defined. */
|
|
|
|
#undef u_int32_t
|
|
|
|
|
|
|
|
/* Define to `uint64_t' if u_int64_t not defined. */
|
|
|
|
#undef u_int64_t
|
|
|
|
|
|
|
|
/* Define to `uint8_t' if u_int8_t not defined. */
|
|
|
|
#undef u_int8_t
|
|
|
|
|
2013-06-24 05:03:38 +08:00
|
|
|
/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef uint16_t
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef uint32_t
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef uint64_t
|
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
|
|
|
such a type exists and the standard includes do not define it. */
|
|
|
|
#undef uint8_t
|
2015-03-03 05:25:12 +08:00
|
|
|
|
|
|
|
/* Define to the type of an unsigned integer type wide enough to hold a
|
|
|
|
pointer, if such a type exists, and if the system does not define it. */
|
|
|
|
#undef uintptr_t
|