bluez/configure.ac

61 lines
1.1 KiB
Plaintext
Raw Normal View History

2008-12-22 05:26:32 +08:00
AC_PREREQ(2.60)
2011-02-21 04:36:16 +08:00
AC_INIT(bluez, 4.89)
2002-12-25 09:05:59 +08:00
AM_INIT_AUTOMAKE([foreign subdir-objects])
2004-04-03 13:13:53 +08:00
AM_CONFIG_HEADER(config.h)
2002-03-09 05:10:06 +08:00
2009-07-01 09:39:45 +08:00
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
2004-04-02 07:28:53 +08:00
AM_MAINTAINER_MODE
PKG_PROG_PKG_CONFIG
AC_INIT_BLUEZ
COMPILER_FLAGS
2004-04-02 07:28:53 +08:00
AC_LANG_C
2002-03-09 05:10:06 +08:00
AC_PROG_CC
AM_PROG_CC_C_O
2008-06-16 08:49:28 +08:00
AC_PROG_CC_PIE
2002-03-09 05:10:06 +08:00
AC_PROG_INSTALL
2002-03-09 05:12:35 +08:00
AC_PROG_YACC
AM_PROG_LEX
AM_PROG_MKDIR_P
2003-03-31 18:05:12 +08:00
2004-07-07 23:56:21 +08:00
m4_define([_LT_AC_TAGCONFIG], [])
2004-04-02 07:28:53 +08:00
m4_ifdef([AC_LIBTOOL_TAGS], [AC_LIBTOOL_TAGS([])])
2004-03-03 11:56:18 +08:00
2005-02-10 08:21:01 +08:00
AC_DISABLE_STATIC
2004-03-03 11:56:18 +08:00
AC_PROG_LIBTOOL
2002-03-09 05:10:06 +08:00
2006-08-16 18:54:06 +08:00
AC_FUNC_PPOLL
AC_CHECK_LIB(dl, dlopen, dummy=yes,
AC_MSG_ERROR(dynamic linking loader is required))
AC_PATH_DBUS
2006-08-21 08:55:17 +08:00
AC_PATH_GLIB
2007-04-04 17:39:23 +08:00
AC_PATH_ALSA
AC_PATH_GSTREAMER
2004-07-16 02:29:31 +08:00
AC_PATH_USB
AC_PATH_SNDFILE
AC_PATH_OUI
AC_PATH_READLINE
AC_ARG_BLUEZ
AC_ARG_ENABLE(capng, AC_HELP_STRING([--enable-capng],
[enable capabilities support]), [enable_capng=${enableval}])
if (test "${enable_capng}" = "yes"); then
PKG_CHECK_MODULES(CAPNG, libcap-ng, dummy=yes,
AC_MSG_ERROR(Capabilities library is required))
AC_SUBST(CAPNG_CFLAGS)
AC_SUBST(CAPNG_LIBS)
AC_DEFINE(HAVE_CAPNG, 1, [Define to 1 if you have capabilities library.])
fi
2010-10-06 20:11:53 +08:00
AC_OUTPUT(Makefile scripts/bluetooth.rules doc/version.xml
src/bluetoothd.8 bluez.pc)