RFE: usbredir should be able to build usbredirparser in the absence of libusb
Submitted by Nahum Shalman
Assigned to Hans de Goede @jwrdegoede
Description
QEMU only needs libusbredirparser to be able to support usb redirection for spice.
libusbredirparser doesn't require libusb, so it would be nice if the usbredir configure would look for libusb rather than require it, and just not build libusbredirhost if it can't find it.
This would clean up the build process on illumos/Solaris where libusb doesn't currently compile.
As an aside, a simple workaround is to run these two commands before running autogen.sh: sed '/libusb-/d' -i configure.ac echo "SUBDIRS = usbredirparser" > Makefile.am