Missed part of last checkin.
authorKen Raeburn <raeburn@mit.edu>
Tue, 10 Apr 2007 19:43:50 +0000 (19:43 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 10 Apr 2007 19:43:50 +0000 (19:43 +0000)
Check for cmsghdr and pktinfo structures.

ticket: 5517

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19411 dc483132-0cff-0310-8789-dd5450dbe970

src/configure.in

index 6fd2a6c324d93bdea7b4aa1daf2169d5d67f1bfd..983107d2767656fe5a5667dab034163467bab413 100644 (file)
@@ -125,7 +125,7 @@ dnl from old include/configure.in
 AH_TEMPLATE([HAVE_STRUCT_SOCKADDR_STORAGE], 
 [Define if "struct sockaddr_storage" is available.])
 dnl
-AC_CONFIG_HEADER(include/autoconf.h)
+AC_CONFIG_HEADER(include/autoconf.h, [: autoconf.h cmds], [: autoconf.h init cmds])
 AC_PROG_INSTALL
 AC_PROG_AWK
 AC_PROG_LEX
@@ -558,6 +558,11 @@ AC_CHECK_TYPES([uint32_t, int32_t, uint64_t, int64_t, uint_least32_t, uintptr_t,
 # include <inttypes.h>
 #endif
 ])
+AC_CHECK_TYPES([struct cmsghdr, struct in_pktinfo, struct in6_pktinfo], , , [
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+])
 dnl
 dnl stuff for util/profile
 dnl