summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-12-17 06:46:30 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-12-17 06:46:30 +0000
commit3d997d70a4dbbf09ad93738e82cd1137e253adec (patch)
tree3437a7b2593d6d99dfb86f1e40f6ea015cf0bda3
parent85f1b67672730596df37adc362f490c17ff6d4f3 (diff)
Support for --with-bluez-includes option
-rw-r--r--configure.in21
1 files changed, 11 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 529f231b..bf66615a 100644
--- a/configure.in
+++ b/configure.in
@@ -34,14 +34,15 @@ AM_PROG_LEX
AM_PROG_LIBTOOL
AC_ARG_WITH(bluez-libs,
- --with-bluez-libs=DIR BlueZ libraries and header files,
- [
- BLUEZ_INCDIR="$withval"/include
- BLUEZ_LIBDIR="$withval"/src
- ],[
- BLUEZ_INCDIR='../libs/include /usr/include'
- BLUEZ_LIBDIR='../libs/src /usr/lib'
- ]
+ --with-bluez-libs=DIR BlueZ libraries,
+ BLUEZ_LIBDIR="$withval",
+ BLUEZ_LIBDIR='../libs/src /usr/lib'
+)
+
+AC_ARG_WITH(bluez-includes,
+ --with-bluez-includes=DIR BlueZ header files,
+ BLUEZ_INCDIR="$withval",
+ BLUEZ_INCDIR='../libs/include /usr/include/bluetooth'
)
AC_SEARCH_HEADERS(bluetooth/bluetooth.h, $BLUEZ_INCDIR,,
@@ -55,7 +56,7 @@ AC_SEARCH_LIB(bluetooth, hci_open_dev, $BLUEZ_LIBDIR,,
)
AC_ARG_WITH(glib-config,
- --with-glib-config=program glib-config location,
+ --with-glib-config=prog glib-config location,
GLIB_CONFIG="$withval",
[
AC_PATH_PROGS(GLIB_CONFIG, glib-config, no)
@@ -78,7 +79,7 @@ fi
dnl Check for PCMCIA
AC_ARG_ENABLE(pcmcia,
- --enable-pcmcia Always install PCMCIA support files,
+ --enable-pcmcia Always install PCMCIA support files,
[PCMCIA=pcmcia],
[ if test "$cross_compiling" != yes; then
AC_TEST_DIR(/etc/pcmcia, PCMCIA=pcmcia, PCMCIA=)