Updated package changelog.
[profile/ivi/ico-uxf-pulse-plugin.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.68])
5 AC_INIT([ico-uxf-pulse-plugin], [0.1.2], [Toyota Motor Corporation])
6 AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign silent-rules])
7 LT_INIT([disable-static])
8 AC_CONFIG_SRCDIR([src/modules/ico_module-soundmgr.c])
9 AC_CONFIG_HEADERS([config.h])
10 AC_CONFIG_MACRO_DIR([m4])
11
12 # --------------------------------------------------------------
13 # Checks for programs.
14 # --------------------------------------------------------------
15 AC_PROG_CC
16 PKG_PROG_PKG_CONFIG
17
18 # --------------------------------------------------------------
19 # Checks for libraries.
20 # --------------------------------------------------------------
21 AC_CHECK_LIB([pthread], [main])
22 AC_CHECK_LIB([pulse], [main])
23 AC_CHECK_LIB([websockets], [main])
24
25 # --------------------------------------------------------------
26 # Checks for header files.
27 # --------------------------------------------------------------
28 AC_CHECK_HEADERS([stdlib.h string.h])
29
30 # --------------------------------------------------------------
31 # Checks for typedefs, structures, and compiler characteristics.
32 # --------------------------------------------------------------
33 AC_HEADER_STDBOOL
34 AC_TYPE_SIZE_T
35
36 # --------------------------------------------------------------
37 # Checks for library functions.
38 # --------------------------------------------------------------
39 AC_FUNC_MALLOC
40 AC_CHECK_FUNCS([memset])
41
42 # --------------------------------------------------------------
43 # Generate Makefiles, etc.
44 # --------------------------------------------------------------
45 AC_CONFIG_FILES([Makefile
46                  src/Makefile
47                  src/tests/Makefile])
48 AC_OUTPUT