summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorGuy Harris <gharris@steve.local>2009-07-08 01:22:27 -0700
committerGuy Harris <gharris@steve.local>2009-07-08 01:22:27 -0700
commitce952c7dc42a75b1813e9e2b4c9502c2268f3aab (patch)
treebcb3d713ba7332050ad1640a0dc71a3a60d3962b /config.h.in
parenta2fb078ab482b9ed0c0f9d6ede31b6be490bec61 (diff)
downloadtcpdump-ce952c7dc42a75b1813e9e2b4c9502c2268f3aab.tar.gz
Get rid of some autoconf macros not used, or no longer used, with
tcpdump. Check whether __attribute__((format)) can be applied to function pointers and, if not, don't apply it to function pointers; some older versions of GCC appear to support applying it to functions, but not pointers to functions. As we've gotten rid of missing/getaddrinfo.c, don't use it.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in
index c0e762bd..20c3fcf3 100644
--- a/config.h.in
+++ b/config.h.in
@@ -108,9 +108,6 @@
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
-/* Define to 1 if you have the `getaddrinfo' function. */
-#undef HAVE_GETADDRINFO
-
/* Define to 1 if you have the `getnameinfo' function. */
#undef HAVE_GETNAMEINFO
@@ -306,6 +303,10 @@
/* needed on HP-UX */
#undef _HPUX_SOURCE
+/* define if your compiler allows __attribute__((format)) to be applied to
+ function pointers */
+#undef __ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS
+
/* to handle Ultrix compilers that don't support const in prototypes */
#undef const