Permalink
Browse files

2005-08-02 Zoltan Varga <vargaz@freemail.hu>

	* acconfig.h configure.in: Applied patch from Julien Puydt (julien.puydt@laposte.net). Add check for IPV6_PKTINFO.

svn path=/trunk/mono/; revision=47919
  • Loading branch information...
1 parent ee369f1 commit 63914ff021b19c015879a1c091351e0e3cf050bb @vargaz vargaz committed Aug 2, 2005
Showing with 19 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +1 −0 acconfig.h
  3. +14 −0 configure.in
View
@@ -1,3 +1,7 @@
+2005-08-02 Zoltan Varga <vargaz@freemail.hu>
+
+ * acconfig.h configure.in: Applied patch from Julien Puydt (julien.puydt@laposte.net). Add check for IPV6_PKTINFO.
+
2005-07-19 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Fix definition of LIBC for ia64.
View
@@ -5,6 +5,7 @@
#undef HAVE_SOL_TCP
#undef HAVE_SOL_IPV6
#undef HAVE_IP_PKTINFO
+#undef HAVE_IPV6_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_STRUCT_IP_MREQ
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
View
@@ -721,6 +721,20 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(no)
])
+ dnl *****************************
+ dnl *** Checks for IPV6_PKTINFO ***
+ dnl *****************************
+ AC_MSG_CHECKING(for IPV6_PKTINFO)
+ AC_TRY_COMPILE([#include <netdb.h>], [
+ int level = IPV6_PKTINFO;
+ ], [
+ # Yes, we have it...
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_IPV6_PKTINFO)
+ ], [
+ AC_MSG_RESULT(no)
+ ])
+
dnl *********************************
dnl *** Check for struct ip_mreqn ***
dnl *********************************

0 comments on commit 63914ff

Please sign in to comment.