From f657e0060cb60fd44231556ce277bbcbc160dad5 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Sun, 10 Mar 2013 23:39:22 +0900 Subject: [PATCH] bluetooth: detect availability of header. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 784f4dc57..82c0a5bef 100644 --- a/configure.ac +++ b/configure.ac @@ -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"])