X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=d64bbc7aa31cff9b99285c9a2e93e698035602d9;hb=7f3029e05dd639a464169a324418f97e15da7f43;hp=fbae268c6de4abac8dc9fea414c0b7db94437b99;hpb=9b175d9cb1ea10da543266765c1fbd64ae370ce4;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index fbae268..d64bbc7 100644 --- a/configure.ac +++ b/configure.ac @@ -4,13 +4,10 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AC_PROG_CXX AC_PROG_LIBTOOL -echo ${host} - has_libudev="yes" case "${host}" in *-*-linux*) - PKG_CHECK_MODULES([UDEV],[libudev],,[has_libudev="no"]) - PKG_CHECK_MODULES([UDEV],[libudev],,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*)