bluetooth: detect availability of header.

This commit is contained in:
Cedric Bail 2013-03-10 23:39:22 +09:00
parent 32f717483f
commit f657e0060c
1 changed files with 3 additions and 0 deletions

View File

@ -197,6 +197,9 @@ CPPFLAGS="${PCPPFLAGS}"
AC_SUBST(cf_cflags)
AC_SUBST(cf_libs)
AC_CHECK_HEADERS([bluetooth/bluetooth.h],
[have_bluetooth_h="yes"],
[have_bluetooth_h="no"])
execinfo_libs=""
AC_CHECK_HEADERS([execinfo.h], [have_execinfo="yes"], [have_execinfo="no"])