AC_LANG_POP(C)
fi # $build = $target
+# check for bluetooth library
+bluetooth=0
+AC_CHECK_LIB(bluetooth, ba2str, bluetooth=1, bluetooth=0)
+if test "$bluetooth" = 1
+then
+ AM_CONDITIONAL(HAVE_LIBBLUETOOTH, true)
+ AC_DEFINE([HAVE_LIBBLUETOOTH],[1],[Have bluetooth library])
+else
+ AM_CONDITIONAL(HAVE_LIBBLUETOOTH, false)
+fi
+
+
# libcurl
LIBCURL_CHECK_CONFIG(,7.21.3,curl=1,curl=0)
if test "$curl" = 1
contrib/Makefile
doc/Makefile
doc/man/Makefile
+doc/doxygen/Makefile
m4/Makefile
po/Makefile.in
src/Makefile
src/hello/Makefile
src/include/Makefile
src/include/gnunet_directories.h
+src/identity/Makefile
+src/identity/identity.conf
src/hostlist/Makefile
src/lockmanager/Makefile
src/lockmanager/lockmanager.conf
src/set/set.conf
src/statistics/Makefile
src/statistics/statistics.conf
-src/stream/Makefile
src/template/Makefile
src/testbed/Makefile
src/testbed/testbed.conf
AC_MSG_NOTICE([NOTICE: libcurl not found. http client support will not be compiled.])
fi
+# bluetooth
+if test "x$bluetooth" = "x0"
+then
+ AC_MSG_NOTICE([NOTICE: bluetooth library not found. bluetooth support will not be compiled.])
+fi
+
#gnutls
if test x$gnutls != xtrue
then