dnl -*- Autoconf -*-
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT([A Dollar Gesture Recognizer], [0.1], [takanori.ishikawa@gmail.com], [dollar-gesture-recognizer])
AC_CONFIG_SRCDIR([src/utils.cpp])
AC_CONFIG_HEADER([include/dollar/config.h])
AM_INIT_AUTOMAKE([-Wall -Werror nostdinc foreign])
dnl ===========================================================
dnl Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_RANLIB
dnl -----------------------------------------------------------
dnl Checks for libraries.
dnl -----------------------------------------------------------
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([float.h stddef.h])
dnl -----------------------------------------------------------
dnl Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_CHECK_DECLS([__APPLE__], [LDFLAGS="$LDFLAGS -framework ApplicationServices"])
dnl ===========================================================
dnl Creates outputfiles
AC_CONFIG_FILES([
Makefile
src/Makefile
test/Makefile
])
AC_OUTPUT