public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Armin Bauer <armin.bauer@desscon.com>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] configure.in question
Date: Sun, 19 Sep 2004 11:42:25 +0200	[thread overview]
Message-ID: <1095586945.4389.11.camel@azrael> (raw)

Hi,

im one of the multisync devs. as you probably know, we are using your
bluetooth libraries in our application.

Up until now we used this in a configure.in to detect the bluetooth
libraries:

AC_CHECK_LIB(bluetooth,baswap,BLUETOOTH=1,BLUETOOTH=0)
SDP=0
AC_CHECK_LIB(sdp,sdp_list_free,SDP=1,BLUETOOTH=0)
AC_MSG_CHECKING(for correct SDP lib version)
AC_TRY_COMPILE([
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
],[sdp_record_t t;],AC_MSG_RESULT(yes),BLUETOOTH=0;AC_MSG_RESULT(no))
AM_CONDITIONAL(BLUETOOTH,test "${BLUETOOTH}" = "1")
if test "x${BLUETOOTH}" = "x0"; then
  echo "Bluetooth is DISABLED. You must have bluez-libs and bluez-kernel
>= 2.3 and bluez-sdp >= 1.0-pre1."
fi
AC_DEFINE_UNQUOTED(HAVE_BLUETOOTH, ${BLUETOOTH},Defined if Bluetooth is
enabled.)

and src/Makefile.am

libirmc_bluetooth_la_LIBADD = -lbluetooth -lsdp -lpthread

some time ago, the sdp library merged into the libbluetooth. Therefore
this check will not detect this correctly anymore.

So i was wondering what would be the correct approach to detect if the
-lsdp is needed? Which version was the first version of libbluetooth
that got rid of the libsdp?

Armin



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2004-09-19  9:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-19  9:42 Armin Bauer [this message]
2004-09-19 10:31 ` [Bluez-devel] configure.in question Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1095586945.4389.11.camel@azrael \
    --to=armin.bauer@desscon.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox