# $FreeBSD$ # try to avoid child processes when finding out if already in the kernel .if ${OSVERSION} > 900036 || (${OSVERSION} < 900000 && ${OSVERSION} > 802508) LINUX_V4L2_AVAILABLE= 1 .else .if ${OSVERSION} == 900036 || ${OSVERSION} == 802508 LINUX_V4L2_AVAILABLE!= ($(SYSCTL) -n kern.features.linuxulator_v4l2 2>/dev/null || true) .else LINUX_V4L2_AVAILABLE= 0 .endif .endif