cec: call SetControlledMode(false) as last command when closing the connection in...
[deb_libcec.git] / configure.ac
index b7a4b6006d6ecc809c882e9caf27135eb9ca349c..2b1e930ea082fe37256170dafb237ed2e6763459 100644 (file)
@@ -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