[libvirt PATCH 02/31] configure: drop check for unsupported FreeBSD

Pavel Hrdina phrdina at redhat.com
Thu Jul 2 12:25:00 UTC 2020


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 at redhat.com>
---
 configure.ac | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6c8ac2f04bc..e4c0bea94df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -857,17 +857,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],
-- 
2.26.2




More information about the libvir-list mailing list