mirror of https://gitee.com/openkylin/linux.git
staging: usbip: userspace: remove libsysfs flag and autoconf check
libsysfs is now completely removed from USB/IP. Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a744b7c637
commit
23477ffdd0
|
@ -44,12 +44,6 @@ AC_FUNC_REALLOC
|
|||
AC_CHECK_FUNCS([memset mkdir regcomp socket strchr strerror strstr dnl
|
||||
strtoul])
|
||||
|
||||
AC_CHECK_HEADER([sysfs/libsysfs.h],
|
||||
[AC_CHECK_LIB([sysfs], [sysfs_open_directory_list],
|
||||
[LIBS="$LIBS -lsysfs"],
|
||||
[AC_MSG_ERROR([Missing sysfs2 library!])])],
|
||||
[AC_MSG_ERROR([Missing /usr/include/sysfs/libsysfs.h])])
|
||||
|
||||
AC_CHECK_HEADER([libudev.h],
|
||||
[AC_CHECK_LIB([udev], [udev_new],
|
||||
[LIBS="$LIBS -ludev"],
|
||||
|
|
Loading…
Reference in New Issue