X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=f8b8701be858a9fa009e3698083232941e0fdfed;hb=0b71487197ed7281dda06f53ecaf846f1fd7e942;hp=b7a4b6006d6ecc809c882e9caf27135eb9ca349c;hpb=c9549d3519b254239eac22685ea22d81ffa00761;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index b7a4b60..f8b8701 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libcec], 1:5:0) +AC_INIT([libcec], 1:6:0) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AC_PROG_CXX @@ -7,12 +7,16 @@ 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"; LIBS+="-framework CoreVideo -framework IOKit" ;; + *-freebsd*) + has_libudev="no" + ;; esac if test "x$has_libudev" != "xno"; then