summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini2022-04-20 17:33:43 +0200
committerPaolo Bonzini2022-04-28 08:52:22 +0200
commit0dae95d4ad00b42814d3da451783d0b1f372ada4 (patch)
tree025c03dcffba5fb183e0727d4d192b28984fe43e /configure
parentmeson, configure: move keyctl test to meson (diff)
downloadqemu-0dae95d4ad00b42814d3da451783d0b1f372ada4.tar.gz
qemu-0dae95d4ad00b42814d3da451783d0b1f372ada4.tar.xz
qemu-0dae95d4ad00b42814d3da451783d0b1f372ada4.zip
meson, configure: move usbfs test to meson
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure28
1 files changed, 0 insertions, 28 deletions
diff --git a/configure b/configure
index 313579019d..d527a9c22e 100755
--- a/configure
+++ b/configure
@@ -2161,31 +2161,6 @@ case "$fdt" in
esac
##########################################
-# check for usbfs
-have_usbfs=no
-if test "$linux_user" = "yes"; then
- cat > $TMPC << EOF
-#include <linux/usbdevice_fs.h>
-
-#ifndef USBDEVFS_GET_CAPABILITIES
-#error "USBDEVFS_GET_CAPABILITIES undefined"
-#endif
-
-#ifndef USBDEVFS_DISCONNECT_CLAIM
-#error "USBDEVFS_DISCONNECT_CLAIM undefined"
-#endif
-
-int main(void)
-{
- return 0;
-}
-EOF
- if compile_prog "" ""; then
- have_usbfs=yes
- fi
-fi
-
-##########################################
# capstone
case "$capstone" in
@@ -2641,9 +2616,6 @@ fi
if test "$module_upgrades" = "yes"; then
echo "CONFIG_MODULE_UPGRADES=y" >> $config_host_mak
fi
-if test "$have_usbfs" = "yes" ; then
- echo "CONFIG_USBFS=y" >> $config_host_mak
-fi
if test "$gio" = "yes" ; then
echo "CONFIG_GIO=y" >> $config_host_mak
echo "GIO_CFLAGS=$gio_cflags" >> $config_host_mak