]> The Tcpdump Group git mirrors - tcpdump/commit
Don't test for __attribute__ in the configure script.
authorGuy Harris <[email protected]>
Mon, 22 Jan 2018 01:57:20 +0000 (17:57 -0800)
committerGuy Harris <[email protected]>
Mon, 22 Jan 2018 01:57:20 +0000 (17:57 -0800)
commit45fc519a2ac35af5805204418c370136aa0db1f7
tree4fb15d49aabe44730e7e042ee1a658de7040faa6
parentc29177f65837dfa7bc18daf7df872069811ab91e
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.
18 files changed:
CMakeLists.txt
Makefile.in
aclocal.m4
cmakeconfig.h.in
compiler-tests.h [new file with mode: 0644]
config.h.in
configure
configure.ac
extract.h
funcattrs.h
ip6.h
netdissect-stdinc.h
netdissect.h
print-bootp.c
print-dccp.c
tcp.h
tcpdump.c
varattrs.h [new file with mode: 0644]