mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-18 06:54:40 +00:00
build: fix autoconf multicast check on OpenBSD
Fix the "BSD struct ip_mreq hack" autoconf test to work with OpenBSD. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
4bed21c402
commit
1b54f798d3
@ -957,7 +957,7 @@ AC_CHECK_MEMBERS([struct ip_mreqn.imr_ifindex], [], [], QUAGGA_INCLUDES)
|
|||||||
AC_MSG_CHECKING([for BSD struct ip_mreq hack])
|
AC_MSG_CHECKING([for BSD struct ip_mreq hack])
|
||||||
AC_TRY_COMPILE([#ifdef HAVE_SYS_PARAM_H
|
AC_TRY_COMPILE([#ifdef HAVE_SYS_PARAM_H
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#endif],[#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__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) || defined(__OpenBSD__)
|
||||||
return (0);
|
return (0);
|
||||||
#else
|
#else
|
||||||
#error No support for BSD struct ip_mreq hack detected
|
#error No support for BSD struct ip_mreq hack detected
|
||||||
|
Loading…
Reference in New Issue
Block a user