summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
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 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 81ec675c..55dd3512 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,11 +23,6 @@ AC_LBL_C_INIT_BEFORE_CC(V_INCLS)
AC_PROG_CC_C99
AC_LBL_C_INIT(V_CCOPT, V_INCLS)
AC_LBL_C_INLINE
-AC_C___ATTRIBUTE__
-if test "$ac_cv___attribute__" = "yes"; then
- AC_C___ATTRIBUTE___UNUSED
- AC_C___ATTRIBUTE___FALLTHROUGH
-fi
AC_CHECK_HEADERS(fcntl.h rpc/rpc.h rpc/rpcent.h)
AC_CHECK_HEADERS(net/pfvar.h, , , [#include <sys/types.h>