1
dnl Process this file with autoconf to produce a configure script.
4
AC_INIT([changeup], [0.0.1])
5
AC_CONFIG_SRCDIR([changeup.service.in])
7
AM_INIT_AUTOMAKE([1.10 foreign])
12
# Pyflakes and trial paths
13
AC_PATH_PROG([PYFLAKES], [pyflakes], [true])
14
AC_PATH_PROG([TRIAL], [trial], [true])
16
# We need to do some magic for the Python path handling
17
AC_MSG_CHECKING([for pycentral])
18
AC_ARG_ENABLE([pycentral],
19
AC_HELP_STRING([--enable-pycentral],
20
[Enable usage of pycentral [default=disabled]]),
21
[enable_pycentral=$enableval],
22
[enable_pycentral=no])
23
if test "x$enable_pycentral" = "xyes"; then
24
pythondir="\${datadir}/pyshared"
31
dnl ---------------------------------------------------------------------------
32
dnl - Are we specifying a different dbus root ?
33
dnl ---------------------------------------------------------------------------
34
AC_ARG_WITH(dbus-services,
35
[AC_HELP_STRING([--with-dbus-services=<dir>],
36
[where D-BUS services directory is])])
37
if ! test -z "$with_dbus_services" ; then
38
DBUS_SERVICES_DIR="$with_dbus_services"
40
# D-BUS 0.23 and higher use $prefix/share/dbus-1/services
41
DBUS_SERVICES_DIR="\${datadir}/dbus-1/services"
43
AC_SUBST(DBUS_SERVICES_DIR)