X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=2b1e930ea082fe37256170dafb237ed2e6763459;hb=209b7a5c7a749d4bed7b463c3356918cc00d2704;hp=b7a4b6006d6ecc809c882e9caf27135eb9ca349c;hpb=c9549d3519b254239eac22685ea22d81ffa00761;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index b7a4b60..2b1e930 100644 --- a/configure.ac +++ b/configure.ac @@ -8,11 +8,15 @@ has_libudev="yes" case "${host}" in *-*-linux*) PKG_CHECK_MODULES([UDEV],[libudev],,[has_libudev="no";AC_MSG_WARN("library 'udev' is missing - adapter detection will not be available")]) + LIBS+=" -lrt" ;; *-apple-darwin*) has_libudev="no"; LIBS+="-framework CoreVideo -framework IOKit" ;; + *-freebsd*) + has_libudev="no" + ;; esac if test "x$has_libudev" != "xno"; then