updated changelog for release v0.6. updated lib version numbers
[deb_libcec.git] / configure.ac
... / ...
CommitLineData
1AC_INIT([libcec], 0:6:0)
2AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
3
4AC_PROG_CXX
5AC_PROG_LIBTOOL
6
7case "${host}" in
8 *-*-linux*)
9 AC_CHECK_LIB([rt], [main],, AC_MSG_ERROR("required library 'rt' is missing"))
10 AC_CHECK_LIB([udev], [main],, AC_MSG_ERROR("required library 'udev' is missing"))
11 REQUIRES="udev"
12 ;;
13 *-apple-darwin*)
14 LIBS+="-framework CoreVideo -framework IOKit"
15 ;;
16esac
17
18AC_CHECK_LIB([pthread], [main],, AC_MSG_ERROR("required library 'pthread' is missing"))
19
20CXXFLAGS="-fPIC -Wall -Wextra $CXXFLAGS"
21
22AC_SUBST(REQUIRES)
23AC_CONFIG_FILES([src/lib/libcec.pc])
24AC_OUTPUT([Makefile src/lib/Makefile src/testclient/Makefile])