AC_CHECK_HEADERS([sys/mman.h sys/ioctl.h], [], [HW_BEAGLELOGIC="no"])
# The ACME driver can only be built for Linux.
-case "$target_os" in
- linux*) ;;
- *) HW_ACME="no" ;;
+case "$host" in
+ *linux*) ;;
+ *) HW_BAYLIBRE_ACME="no" ;;
esac
AC_SUBST(SR_PKGLIBS)