diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-01-22 02:34:31 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-01-22 02:34:31 -0800 |
commit | 0c216561500e3279c806ee72c25ca47c3abee36c (patch) | |
tree | 01ac787ce0d1283e30464860048fc1791cd7a0d1 /cmakeconfig.h.in | |
parent | 7094894ebcbf3e7ea78a558c63045445488e346d (diff) | |
download | tcpdump-0c216561500e3279c806ee72c25ca47c3abee36c.tar.gz |
Configure for ether_ntohost() as libpcap does it for ether_hostton().
Check for the same header files that declare it, and handle the results
of those checks in a similar fashion.
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r-- | cmakeconfig.h.in | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 3346ad69..8c5168d1 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -1,5 +1,8 @@ /* cmakeconfig.h.in */ +/* Define to 1 if arpa/inet.h declares `ether_ntohost' */ +#cmakedefine ARPA_INET_H_DECLARES_ETHER_NTOHOST 1 + /* define if you want to build the possibly-buggy SMB printer */ #cmakedefine ENABLE_SMB 1 @@ -76,12 +79,6 @@ /* Define to 1 if you have the <netdnet/dn.h> header file. */ #cmakedefine HAVE_NETDNET_DN_H 1 -/* Define to 1 if you have the <netinet/ether.h> header file. */ -#cmakedefine HAVE_NETINET_ETHER_H 1 - -/* Define to 1 if you have the <netinet/if_ether.h> header file. */ -#cmakedefine HAVE_NETINET_IF_ETHER_H 1 - /* Define to 1 if you have the <net/if_pflog.h> header file. */ #cmakedefine HAVE_NET_IF_PFLOG_H 1 @@ -256,6 +253,9 @@ /* Define to 1 if netinet/if_ether.h declares `ether_ntohost' */ #cmakedefine NETINET_IF_ETHER_H_DECLARES_ETHER_NTOHOST 1 +/* Define to 1 if net/ethernet.h declares `ether_ntohost' */ +#cmakedefine NET_ETHERNET_H_DECLARES_ETHER_NTOHOST 1 + /* Define to the address where bug reports for this package should be sent. */ #cmakedefine PACKAGE_BUGREPORT "" @@ -277,6 +277,9 @@ /* Define to 1 if you have the ANSI C header files. */ #cmakedefine STDC_HEADERS 1 +/* Define to 1 if sys/ethernet.h declares `ether_ntohost' */ +#cmakedefine SYS_ETHERNET_H_DECLARES_ETHER_NTOHOST 1 + /* define if you have ether_ntohost() and it works */ #cmakedefine USE_ETHER_NTOHOST 1 |