mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
configure: drop check for unsupported FreeBSD
FreeBSD 10 is no longer supported by libvirt and the struct member ifi_oqdrops is usable without any define on later FreeBSD versions. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
6c1ee710b1
commit
83131d9714
11
configure.ac
11
configure.ac
@ -860,17 +860,6 @@ if test $with_freebsd = yes; then
|
||||
)
|
||||
fi
|
||||
|
||||
# FreeBSD 10-STABLE requires _IFI_OQDROPS to be defined for if_data.ifi_oqdrops
|
||||
# field be available
|
||||
old_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -D_IFI_OQDROPS"
|
||||
|
||||
AC_CHECK_MEMBERS([struct if_data.ifi_oqdrops],
|
||||
[],
|
||||
[CFLAGS="$old_CFLAGS"],
|
||||
[#include <net/if.h>
|
||||
])
|
||||
|
||||
AC_CHECK_DECLS([clock_serv_t, host_get_clock_service, clock_get_time],
|
||||
[AC_DEFINE([HAVE_MACH_CLOCK_ROUTINES],
|
||||
[1],
|
||||
|
Loading…
x
Reference in New Issue
Block a user