ishikawa / dollar-gesture-recognizer

The C++ implementation and Objective-C wrapper of a "$1 Gesture Recognizer" for Cocoa/iPhone/iPod touch application.

This URL has Read+Write access

dollar-gesture-recognizer / configure.ac
100644 40 lines (33 sloc) 1.182 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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