X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=d64bbc7aa31cff9b99285c9a2e93e698035602d9;hb=79412ced4078078ff30e3271f2f30c76cacc0f4d;hp=209ecf6e070ebeb575ae9a2dc77745515f86bb73;hpb=5458fd775d4c7e4e9ffe8bdbfd47e540ca712a31;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index 209ecf6..d64bbc7 100644 --- a/configure.ac +++ b/configure.ac @@ -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";