summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <pilot@etcnet.org>2009-04-13 20:11:44 +0400
committerDenis Ovsienko <pilot@etcnet.org>2009-04-13 20:11:44 +0400
commitc540835eaf0cb59921969537d8e94cc83bb717f5 (patch)
tree2fbe142c8dc72914dc5a68284d371bbd56981a89
parent9eff36b3784acbf72c962770e20ddd3f58f50332 (diff)
Dmitry Tejblum <tejblum@yandex-team.ru>
Don't enable HAVE_BSD_STRUCT_IP_MREQ_HACK for FreeBSD 7.0 and upper, because OS behaviour has changed.
-rwxr-xr-xconfigure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a974daa4..a80589d8 100755
--- a/configure.ac
+++ b/configure.ac
@@ -885,7 +885,7 @@ AC_CHECK_MEMBERS([struct ip_mreqn.imr_ifindex], [], [], QUAGGA_INCLUDES)
AC_MSG_CHECKING([for BSD struct ip_mreq hack])
AC_TRY_COMPILE([#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
-#endif],[#if (defined(__FreeBSD__) && (__FreeBSD_version >= 500022 || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000)
+#endif],[#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000)
return (0);
#else
#error No support for BSD struct ip_mreq hack detected