~jamesodhunt/ubuntu/vivid/upstart/bug-1447756

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: James Hunt
  • Date: 2013-08-27 09:17:21 UTC
  • mfrom: (1436.2.3)
  • mto: This revision was merged to the branch mainline in revision 1492.
  • Revision ID: james.hunt@ubuntu.com-20130827091721-w8t6f1i3lil6wrix
New upstream release (LP: #1199778, #1200264, #1201865).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Process this file with autoconf to produce a configure script.
2
2
 
3
3
AC_PREREQ(2.61)
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])
 
36
 
 
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])
 
41
 
 
42
AM_CONDITIONAL([ENABLE_UDEV_BRIDGE], [test "$have_udev" = yes && test "$udev_bridge" = yes])
 
43
 
 
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])
 
48
 
 
49
AM_CONDITIONAL([ENABLE_DCONF_BRIDGE], [test "$have_dconf" = yes &&
 
50
                                test "$have_gio" = yes &&
 
51
                                test "$dconf_bridge" = yes])
35
52
 
36
53
# Reasons for requiring this library version:
37
54
#