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:
authorJeffrey Stedfast <fejj@novell.com>2002-02-16 22:37:58 +0300
committerJeffrey Stedfast <fejj@novell.com>2002-02-16 22:37:58 +0300
commite4cdfa72bb3a5f27aff221564d0e40524c3a903f (patch)
tree813b55aa478124a5e637feca71b6cd845247edad /configure.in
parent06686210667bc788005739c62473e89a102556fa (diff)
2002-02-16 Jeffrey Stedfast <fejj@ximian.com>
* configure.in: Add checks for SOL_IP, SOL_TCP, IP_PKTINFO, IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP. Also check for struct ip_mreqn. svn path=/trunk/mono/; revision=2447
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2e44a750ffe..dd382112ce7 100644
--- a/configure.in
+++ b/configure.in
@@ -233,6 +233,22 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(no)
])
+ dnl *********************************
+ dnl *** Check for struct ip_mreqn ***
+ dnl *********************************
+ AC_MSG_CHECKING(for struct ip_mreqn)
+ AC_TRY_COMPILE([#include <netinet/in.h>], [
+ struct ip_mreqn mreq;
+ mreq.imr_address.s_addr = 0;
+ ], [
+ # Yes, we have it...
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_STRUCT_IP_MREQN)
+ ], [
+ # We'll just have to use struct ip_mreq
+ AC_MSG_RESULT(no)
+ ])
+
dnl *****************************
dnl *** Checks for libnsl ***
dnl *****************************