# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) AC_CONFIG_SRCDIR([carwhisperer.c]) # Checks for programs. AC_PROG_CC # Checks for libraries. AC_HAVE_LIBRARY(bluetooth,,[AC_MSG_ERROR([Bluetooth not found])]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h unistd.h]) AC_CHECK_HEADERS([bluetooth/bluetooth.h],,[AC_MSG_ERROR([Bluetooth headers MIA])]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_SIZE_T # Checks for library functions. AC_PROG_GCC_TRADITIONAL AC_FUNC_MALLOC AC_TYPE_SIGNAL AC_CHECK_FUNCS([memset strerror]) # CFLAGS AC_CONFIG_FILES([Makefile]) AC_OUTPUT