X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=ba40f03f9443def488fb922592c5ce9e97123da4;hb=75060af4927b7e412634756bb1ec952a25fab772;hp=209ecf6e070ebeb575ae9a2dc77745515f86bb73;hpb=5458fd775d4c7e4e9ffe8bdbfd47e540ca712a31;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index 209ecf6..ba40f03 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libcec], 1:5:0) +AC_INIT([libcec], 1:7:0) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AC_PROG_CXX @@ -7,7 +7,9 @@ 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")) + AC_CHECK_HEADER(lockdev.h,, AC_MSG_ERROR("required library 'liblockdev' is missing")) + LIBS+=" -lrt -llockdev" ;; *-apple-darwin*) has_libudev="no";