1
1
# Process this file with autoconf to produce a configure script.
4
AC_INIT([upstart], [1.9.1], [upstart-devel@lists.ubuntu.com])
4
AC_INIT([upstart], [1.10], [upstart-devel@lists.ubuntu.com])
5
5
NIH_COPYRIGHT([[Copyright © 2013 Scott James Remnant, Canonical Ltd.]])
6
6
AC_CONFIG_SRCDIR([init/main.c])
7
7
AC_CONFIG_MACRO_DIR([m4])
30
30
PKG_CHECK_MODULES([NIH], [libnih >= 1.0.2])
31
31
PKG_CHECK_MODULES([NIH_DBUS], [libnih-dbus >= 1.0.0])
32
32
PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.2.16])
33
PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.36], [have_gio=yes], [have_gio=no])
33
34
PKG_CHECK_MODULES([UDEV], [libudev >= 146], [have_udev=yes], [have_udev=no])
34
AM_CONDITIONAL([HAVE_UDEV], [test "$have_udev" = yes])
35
PKG_CHECK_MODULES([DCONF], [dconf >= 0.14], [have_dconf=yes], [have_dconf=no])
37
AC_ARG_ENABLE([udev-bridge],
38
AS_HELP_STRING([--disable-udev-bridge],
39
[Disable building of upstart-udev-bridge even if required dependencies available]),
40
[udev_bridge=no], [udev_bridge=yes])
42
AM_CONDITIONAL([ENABLE_UDEV_BRIDGE], [test "$have_udev" = yes && test "$udev_bridge" = yes])
44
AC_ARG_ENABLE([dconf-bridge],
45
AS_HELP_STRING([--disable-dconf-bridge],
46
[Disable building of upstart-dconf-bridge even if required dependencies available]),
47
[dconf_bridge=no], [dconf_bridge=yes])
49
AM_CONDITIONAL([ENABLE_DCONF_BRIDGE], [test "$have_dconf" = yes &&
50
test "$have_gio" = yes &&
51
test "$dconf_bridge" = yes])
36
53
# Reasons for requiring this library version: