X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=d64bbc7aa31cff9b99285c9a2e93e698035602d9;hb=2270ce69c7ecb1914caf617f9a9cfa2222244741;hp=b40687a4c6598be45966fd309b726a979599f442;hpb=39b1216c4883c7a3a351283e61e58891699ef091;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index b40687a..d64bbc7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libcec], 1:4:0) +AC_INIT([libcec], 1:5: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