X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=f8b8701be858a9fa009e3698083232941e0fdfed;hb=c65aa4172fd216dbc045698d029af356b131c51c;hp=0e8fa7afa6b62917619dadd2cfa1efafaf042869;hpb=01cf04394f94bc5095025858366c7a1153376149;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index 0e8fa7a..f8b8701 100644 --- a/configure.ac +++ b/configure.ac @@ -1,24 +1,22 @@ -AC_INIT([libcec], 1:4:0) +AC_INIT([libcec], 1:6:0) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) -case "${host}" in - *-*-linux*) - AM_SILENT_RULES([yes]) - ;; -esac - AC_PROG_CXX 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 @@ -40,4 +38,4 @@ CXXFLAGS="-fPIC -Wall -Wextra -Wno-missing-field-initializers $CXXFLAGS" AC_SUBST(REQUIRES) AC_CONFIG_FILES([src/lib/libcec.pc]) -AC_OUTPUT([Makefile src/lib/Makefile src/testclient/Makefile]) +AC_OUTPUT([Makefile src/lib/Makefile src/testclient/Makefile src/cec-config/Makefile])