Revision 61fb537c

View differences:

aclocal.m4
116 116
	*)		AC_DEFINE(TIME_T_IS_SIGNED) ;;
117 117
	esac
118 118
])
119

  
120
AC_DEFUN(BIRD_CHECK_STRUCT_IP_MREQN,
121
[AC_CACHE_CHECK([struct ip_mreqn], bird_cv_struct_ip_mreqn,[
122
AC_TRY_COMPILE([#include <netinet/in.h>
123
],[struct ip_mreqn x;
124
],[bird_cv_struct_ip_mreqn=yes
125
],[bird_cv_struct_ip_mreqn=no
126
])])
127
if test "$bird_cv_struct_ip_mreqn" = yes ; then
128
	AC_DEFINE(HAVE_STRUCT_IP_MREQN)
129
fi
130
])
configure.in
109 109
BIRD_CHECK_ENDIAN
110 110
BIRD_CHECK_STRUCT_ALIGN
111 111
BIRD_CHECK_TIME_T
112
BIRD_CHECK_STRUCT_MREQN
112 113

  
113 114
if test "$enable_debug" = yes ; then
114 115
	AC_DEFINE(PATH_CONFIG_DIR, ".")
sysdep/autoconf.h.in
29 29
#undef TIME_T_IS_64BIT
30 30
#undef TIME_T_IS_SIGNED
31 31

  
32
/* We have struct ip_mreqn in <netinet/in.h> */
33
#undef HAVE_STRUCT_IP_MREQN
34

  
32 35
/* Protocols compiled in */
33 36
#undef CONFIG_STATIC
34 37
#undef CONFIG_RIP
sysdep/unix/io.c
407 407
    case SK_UDP_MC:
408 408
    case SK_IP_MC:
409 409
      {
410
#ifdef HAVE_IP_MREQN
411
	/* FIXME: Define HAVE_IP_MREQN somewhere :) */
410
#ifdef HAVE_STRUCT_IP_MREQN
412 411
	struct ip_mreqn mreq;
413 412
#define mreq_add mreq
414 413
	ASSERT(s->iface);

Also available in: Unified diff