It tries to autodetect, but then fails in a later step:checking for libusb-1.0 to use... autodetect checking for LIBUSB1... yes checking libusb.h usability... no checking libusb.h presence... yes
The attached patch may help with this. (I applied it directly to my system libusb.h). After this I got a successful build on kfreebsd-amd64
Independently prepared in our SVN as r4796 :-) Please just fix ENODATA occurence, with updated libusb2-dev it suffices to build libgphoto2. checking for libusb to use... no checking for libusb-1.0 to use... autodetect checking for LIBUSB1... yes checking libusb.h usability... yes checking libusb.h presence... yes checking for libusb.h... yes checking for function libusb_init in libusb-1.0... no Petr