2 # Process this file with autoconf to produce a configure script.
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])
12 # --------------------------------------------------------------
13 # Checks for programs.
14 # --------------------------------------------------------------
18 # --------------------------------------------------------------
19 # Checks for libraries.
20 # --------------------------------------------------------------
21 AC_CHECK_LIB([pthread], [main])
22 AC_CHECK_LIB([pulse], [main])
23 AC_CHECK_LIB([websockets], [main])
25 # --------------------------------------------------------------
26 # Checks for header files.
27 # --------------------------------------------------------------
28 AC_CHECK_HEADERS([stdlib.h string.h])
30 # --------------------------------------------------------------
31 # Checks for typedefs, structures, and compiler characteristics.
32 # --------------------------------------------------------------
36 # --------------------------------------------------------------
37 # Checks for library functions.
38 # --------------------------------------------------------------
40 AC_CHECK_FUNCS([memset])
42 # --------------------------------------------------------------
43 # Generate Makefiles, etc.
44 # --------------------------------------------------------------
45 AC_CONFIG_FILES([Makefile