mirror of
https://github.com/libvirt/libvirt.git
synced 2026-07-29 15:54:48 -05:00
Remove use of libsysfs from bridge code
This commit is contained in:
@@ -221,22 +221,6 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl
|
||||
dnl check for libsyfs (>= 2.0.0); allow disabling bridge parameters support altogether
|
||||
dnl
|
||||
AC_ARG_ENABLE(bridge-params,
|
||||
AC_HELP_STRING([--disable-bridge-params],
|
||||
[disable support for setting bridge parameters using libsysfs [default=no]]),,
|
||||
enable_bridge_params=yes)
|
||||
|
||||
if test x"$enable_bridge_params" == "xyes"; then
|
||||
AC_CHECK_LIB(sysfs, sysfs_open_device,
|
||||
[AC_CHECK_HEADER(sysfs/libsysfs.h,
|
||||
AC_DEFINE(ENABLE_BRIDGE_PARAMS, , [enable setting bridge parameters using libsysfs])
|
||||
SYSFS_LIBS="-lsysfs" AC_SUBST(SYSFS_LIBS),
|
||||
AC_MSG_ERROR([You must install libsysfs in order to compile libvirt]))])
|
||||
fi
|
||||
|
||||
dnl
|
||||
dnl check for kernel headers required by qemud/bridge.c
|
||||
dnl
|
||||
|
||||
Reference in New Issue
Block a user