4 AM_INIT_AUTOMAKE([foreign subdir-objects])
5 AM_CONFIG_HEADER(config.h)
7 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
27 m4_define([_LT_AC_TAGCONFIG], [])
28 m4_ifdef([AC_LIBTOOL_TAGS], [AC_LIBTOOL_TAGS([])])
35 AC_CHECK_LIB(dl, dlopen, dummy=yes,
36 AC_MSG_ERROR(dynamic linking loader is required))
49 AC_ARG_ENABLE(capng, AC_HELP_STRING([--enable-capng],
50 [enable capabilities support]), [enable_capng=${enableval}])
51 if (test "${enable_capng}" = "yes"); then
52 PKG_CHECK_MODULES(CAPNG, libcap-ng, dummy=yes,
53 AC_MSG_ERROR(Capabilities library is required))
54 AC_SUBST(CAPNG_CFLAGS)
56 AC_DEFINE(HAVE_CAPNG, 1, [Define to 1 if you have capabilities library.])
59 AC_OUTPUT(Makefile scripts/bluetooth.rules doc/version.xml
60 src/bluetoothd.8 bluez.pc)