1 AC_INIT(gsmd2, 0.1, vesa.pikki@ixonos.com)
7 AC_CONFIG_HEADERS(config.h)
9 PKG_CHECK_MODULES(GLIB, [glib-2.0])
13 PKG_CHECK_MODULES(DBUS_GLIB, [dbus-1 dbus-glib-1])
14 AC_SUBST(DBUS_GLIB_CFLAGS)
15 AC_SUBST(DBUS_GLIB_LIBS)
20 PKG_CHECK_MODULES(SQLITE, [sqlite3])
21 AC_SUBST(SQLITE_CFLAGS)
25 [AS_HELP_STRING([--enable-tests],
26 [enable tests (default is yes)])])
28 AM_CONDITIONAL([ENABLE_TESTS], [test "$enable_tests" != no])
30 AM_PATH_PYTHON([2.5],, [:])
31 AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
33 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
34 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
35 AC_SUBST(PYTHON_INCLUDES)
37 AC_PATH_PROG([CYTHON], [cython], [no])
38 AM_CONDITIONAL([HAVE_CYTHON], [test "$CYTHON" != no])
50 libfreesmartphone/Makefile