X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=2b1e930ea082fe37256170dafb237ed2e6763459;hb=cc52a02091e15454ff6b832fec3a1abd9aae472e;hp=22b634309a0d7245de0567270525cef79f49436d;hpb=42c025634f2efe8989a1c1321cf65274f1093f36;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index 22b6343..2b1e930 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libcec], 1:2:0) +AC_INIT([libcec], 1:5:0) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AC_PROG_CXX @@ -8,11 +8,15 @@ 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")]) + LIBS+=" -lrt" ;; *-apple-darwin*) has_libudev="no"; LIBS+="-framework CoreVideo -framework IOKit" ;; + *-freebsd*) + has_libudev="no" + ;; esac if test "x$has_libudev" != "xno"; then @@ -30,8 +34,8 @@ libs_pre_dl=$LIBS AC_SUBST([LIBS_DL]) LIBS=$libs_pre_dl -CXXFLAGS="-fPIC -Wall -Wextra $CXXFLAGS" +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])