Add some bounds checking to the HDMI port number. bugzid: 508
[deb_libcec.git] / configure.ac
index 209ecf6e070ebeb575ae9a2dc77745515f86bb73..d64bbc7aa31cff9b99285c9a2e93e698035602d9 100644 (file)
@@ -7,7 +7,8 @@ AC_PROG_LIBTOOL
 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")])
+    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";