Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2005-08-02 20:25:38 +0400
committerZoltan Varga <vargaz@gmail.com>2005-08-02 20:25:38 +0400
commit63914ff021b19c015879a1c091351e0e3cf050bb (patch)
tree701ac241310d58f84c2de8cdee0125f7b9ed4cc7 /configure.in
parentee369f137f67a9467708586d2c3f98dae29d6006 (diff)
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 308887e654d..d4e146239b8 100644
--- a/configure.in
+++ b/configure.in
@@ -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 *********************************