From: Pavel Hrdina Date: Fri, 24 Apr 2020 14:51:31 +0000 (+0200) Subject: configure: drop check for unsupported FreeBSD X-Git-Tag: v6.6.0-rc1~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83131d9714db7ee77ab220186b6b0d8b6c22b09e;p=thirdparty%2Flibvirt.git 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 Reviewed-by: Ján Tomko Reviewed-by: Michal Privoznik --- diff --git a/configure.ac b/configure.ac index 40a326c1aa..61d43c1a63 100644 --- a/configure.ac +++ b/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 - ]) - AC_CHECK_DECLS([clock_serv_t, host_get_clock_service, clock_get_time], [AC_DEFINE([HAVE_MACH_CLOCK_ROUTINES], [1],