Commit Graph

7 Commits

Author SHA1 Message Date
Guy Harris
0fb509808c Not all Windows pcaps have pcap_wsockinit().
WinPcap 4.1.3 has only wsockinit(); check for both, on Windows.
2018-01-29 02:16:13 -08:00
Guy Harris
bdafcfbfb0 Support WITH_CHROOT and WITH_USER.
They're strings; expand them from however they're defined in the CMake
call.
2018-01-22 18:31:45 -08:00
Guy Harris
5e000fa7e6 Change to match config.h.in. 2018-01-22 02:44:40 -08:00
Guy Harris
0c21656150 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.
2018-01-22 02:34:31 -08:00
Guy Harris
a7f76515c4 Again, we don't replace vfprintf(). 2018-01-21 18:42:09 -08:00
Guy Harris
45fc519a2a Don't test for __attribute__ in the configure script.
Instead, use compiler test macros to check whether *particular*
attributes are supported, and set various #defines appropriately, in
header files.

Rename the UNALIGNED structure attribute to ND_UNALIGNED, and ask
whether we still need it.
2018-01-21 17:57:20 -08:00
Guy Harris
1807273b16 Initial CMake support.
Work in progress; there's more to be done.
2018-01-21 13:22:15 -08:00