1
#                                               -*- Autoconf -*-
2
# Process this file with autoconf to produce a configure script.
3
4
AC_PREREQ(2.63)
5
AC_INIT([libirobot],[0.1],[tdfischer@fedoraproject.org])
6
AC_CONFIG_SRCDIR(libirobot)
7
LIBIROBOT_RELEASE=0:1:0
8
LIBIROBOT_LIBRARY_VERSION=0:1:0
9
AM_INIT_AUTOMAKE(libirobot, 0.1)
10
# libtool versioning - this applies to libirobot
11
#
12
# See http://sources.redhat.com/autobook/autobook/autobook_91.html#SEC91 for details
13
#
14
# increment;
15
# CURRENT   If the API or ABI interface has changed (reset REVISION to 0)
16
# REVISION  If the API and ABI remains the same, but bugs are fixed.
17
# AGE       If libirobot can be linked into executables which can be
18
#       built with previous versions of this library. Don't use.
19
LT_CURRENT=0
20
LT_REVISION=0
21
LT_AGE=0
22
AC_SUBST(LT_CURRENT)
23
AC_SUBST(LT_REVISION)
24
AC_SUBST(LT_AGE)
25
26
# Checks for programs.
27
AC_PROG_CXX
28
AC_PROG_CC
29
AC_PROG_INSTALL
30
LT_INIT
31
AC_PROG_MAKE_SET
32
AC_PROG_RANLIB
33
AM_PATH_PYTHON()
34
35
# Checks for libraries.
36
case $host in
37
	avr*)
38
	;;
39
	*)
40
	PKG_CHECK_MODULES([CONEXUS], [conexus-1.0])
41
	;;
42
esac
43
44
45
# Checks for header files.
46
47
# Checks for typedefs, structures, and compiler characteristics.
48
49
# Checks for library functions.
50
51
AC_CONFIG_FILES([
52
libirobot-0.1.pc
53
Makefile
54
libirobot/Makefile
55
libirobot/sensors/Makefile
56
libirobot/transitions/Makefile
57
libirobot/states/Makefile
58
contrib/Makefile
59
examples/Makefile
60
examples/drive/Makefile
61
examples/circles/Makefile
62
examples/state-machines/Makefile
63
examples/straight/Makefile
64
examples/wall-follow/Makefile
65
])
66
67
AC_OUTPUT