checking libhal.h presence... yes checking for libhal.h... yes checking for libhal_ctx_new... yes configure: error: You can't use libhal _and_ libusb. Select only one. It seems it can only use HAL or USB use flag and not both at the same time.
correct. without large editing of the code how do you want it handled?
(In reply to comment #1) > correct. without large editing of the code how do you want it handled? Maybe something like this? pkg_setup() { if use hal && use usb; then eerror "The usb and hal useflag can not be enabled at the same time" die "please select usb or hal use flag" fi }
Hmmm... hal should be preferred... If both are set silent ignore usb is the right thing to do.
thanks. Implemented as per Alon's suggestion.