1 Index: test/Makefile.am
2 ===================================================================
3 --- test/Makefile.am (Revision 80)
4 +++ test/Makefile.am (Arbeitskopie)
6 AM_CFLAGS = -I../src -D_ENABLE_TILT -lm
7 LDADD = ../src/libcwiimote.la
8 noinst_PROGRAMS= test1 test2 test3 test4
11 ===================================================================
12 --- configure.ac (Revision 80)
13 +++ configure.ac (Arbeitskopie)
15 AC_INIT([libwiimote], [0.4.0], [http://sourceforge.net/projects/libwiimote/])
16 AC_CONFIG_HEADER([config.h])
22 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
24 # Checks for programs.
32 AC_SUBST(LIBTOOL_DEPS)
35 # Checks for libraries.
36 AC_CHECK_LIB([bluetooth], [hci_remote_name],
37 - [], [AC_MSG_ERROR([We require BlueZ])])
38 + [], [AC_MSG_ERROR([BlueZ library required, available at http://www.bluez.org/])])
39 +AC_CHECK_LIB([m], [asin],
40 + [], [AC_MSG_ERROR([libm required])])
42 # Checks for header files.
45 AC_CONFIG_FILES([Makefile
52 echo $PACKAGE v$VERSION