configure.ac: add NetBSD probing

Some headers we're usually probing for are different on NetBSD,
so we need to look specifically for NetBSD host.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-29 11:53:39 +01:00
committed by Enrico Weigelt
parent ddf95e76aa
commit 735ef6e499

View File

@@ -74,6 +74,9 @@ case $host_os in
*dragonfly*)
AC_CHECK_HEADERS([bus/u4b/usb.h bus/u4b/usbhid.h], [bsd_backend=yes])
;;
*netbsd*)
bsd_backend=yes
;;
*)
AC_CHECK_HEADERS([dev/usb/usbhid.h], [bsd_backend=yes])
;;