~jamesodhunt/upstart/bug-1197225

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: James Hunt
  • Date: 2013-06-25 16:07:45 UTC
  • mfrom: (1475.4.6 upstart-libupstart)
  • Revision ID: james.hunt@ubuntu.com-20130625160745-61cvyf3d5ms0wh8u
* Merge of lp:~jamesodhunt/upstart/libupstart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
PKG_CHECK_MODULES([NIH_DBUS], [libnih-dbus >= 1.0.0])
32
32
PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.2.16])
33
33
PKG_CHECK_MODULES([UDEV], [libudev >= 146], [have_udev=yes], [have_udev=no])
 
34
AM_CONDITIONAL([HAVE_UDEV], [test "$have_udev" = yes])
34
35
 
35
36
# Reasons for requiring this library version:
36
37
#
50
51
#
51
52
PKG_CHECK_MODULES([JSON], [json >= 0.10])
52
53
 
53
 
AM_CONDITIONAL([HAVE_UDEV], [test "$have_udev" = yes])
 
54
AC_ARG_ENABLE([abi-check],
 
55
        AS_HELP_STRING([--disable-abi-check],
 
56
                [Disable libupstart ABI check performed if abi-compliance-checker available]),
 
57
                [abi_check=no], [abi_check=yes])
 
58
 
 
59
if test x$abi_check = xyes; then
 
60
        AC_CHECK_PROGS([ABI_COMPLIANCE_CHECKER],[abi-compliance-checker])
 
61
        AC_SUBST([ABI_COMPLIANCE_CHECKER])
 
62
fi
 
63
 
 
64
AM_CONDITIONAL([HAVE_ABI_CHECKER], [test ! -z "$ABI_COMPLIANCE_CHECKER"])
54
65
 
55
66
# Checks for header files.
56
67
AC_CHECK_HEADERS([valgrind/valgrind.h, sys/prctl.h])
101
112
AC_CONFIG_FILES([ Makefile intl/Makefile
102
113
                  dbus/Makefile init/Makefile util/Makefile conf/Makefile
103
114
                  extra/Makefile doc/Makefile contrib/Makefile po/Makefile.in
104
 
                  scripts/Makefile scripts/data/Makefile test/Makefile ])
 
115
                  scripts/Makefile scripts/data/Makefile
 
116
                  test/Makefile lib/Makefile lib/libupstart.pc ])
105
117
AC_CONFIG_HEADERS([config.h])
106
118
AC_OUTPUT