summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-21 17:57:20 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-21 17:57:20 -0800
commit45fc519a2ac35af5805204418c370136aa0db1f7 (patch)
tree4fb15d49aabe44730e7e042ee1a658de7040faa6 /config.h.in
parentc29177f65837dfa7bc18daf7df872069811ab91e (diff)
downloadtcpdump-45fc519a2ac35af5805204418c370136aa0db1f7.tar.gz
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.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/config.h.in b/config.h.in
index e0351163..6d6930b1 100644
--- a/config.h.in
+++ b/config.h.in
@@ -250,9 +250,6 @@
/* define if libpcap has yydebug */
#undef HAVE_YYDEBUG
-/* define if your compiler has __attribute__ */
-#undef HAVE___ATTRIBUTE__
-
/* Define to 1 if netenet/dnetdb.h declares `dnet_htoa' */
#undef NETDNET_DNETDB_H_DECLARES_DNET_HTOA
@@ -298,10 +295,6 @@
/* define on AIX to get certain functions */
#undef _SUN
-/* define if your compiler allows __attribute__((fallthrough)) without a
- warning */
-#undef __ATTRIBUTE___FALLTHROUGH_OK
-
/* to handle Ultrix compilers that don't support const in prototypes */
#undef const