# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) AC_INIT([ico-uxf-pulse-plugin], [0.1.2], [Toyota Motor Corporation]) AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign silent-rules]) LT_INIT([disable-static]) AC_CONFIG_SRCDIR([src/modules/ico_module-soundmgr.c]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) # -------------------------------------------------------------- # Checks for programs. # -------------------------------------------------------------- AC_PROG_CC PKG_PROG_PKG_CONFIG # -------------------------------------------------------------- # Checks for libraries. # -------------------------------------------------------------- AC_CHECK_LIB([pthread], [main]) AC_CHECK_LIB([pulse], [main]) AC_CHECK_LIB([websockets], [main]) # -------------------------------------------------------------- # Checks for header files. # -------------------------------------------------------------- AC_CHECK_HEADERS([stdlib.h string.h]) # -------------------------------------------------------------- # Checks for typedefs, structures, and compiler characteristics. # -------------------------------------------------------------- AC_HEADER_STDBOOL AC_TYPE_SIZE_T # -------------------------------------------------------------- # Checks for library functions. # -------------------------------------------------------------- AC_FUNC_MALLOC AC_CHECK_FUNCS([memset]) # -------------------------------------------------------------- # Generate Makefiles, etc. # -------------------------------------------------------------- AC_CONFIG_FILES([Makefile src/Makefile src/tests/Makefile]) AC_OUTPUT