summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>2011-03-16 13:10:20 +0100
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-23 14:57:45 +0200
commitf9dc0c076258754c0b25314308640eb535db2d4a (patch)
tree76c6474df225e1baa79edcb575c4815bbce7bfe1 /acinclude.m4
parentb785550749860cc7de7b65a44d5878fda9c92477 (diff)
downloadbluez-f9dc0c076258754c0b25314308640eb535db2d4a.tar.gz
Add Sim Access Profile dummy driver
Add SAP dummy driver implementation and extend configure with --with-sap=<driver>.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d07418f3a..faa7f7cb1 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -205,6 +205,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
configfiles_enable=yes
telephony_driver=dummy
maemo6_enable=no
+ sap_driver=dummy
AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization], [disable code optimization]), [
optimization_enable=${enableval}
@@ -226,6 +227,11 @@ AC_DEFUN([AC_ARG_BLUEZ], [
sap_enable=${enableval}
])
+ AC_ARG_WITH(sap, AC_HELP_STRING([--with-sap=DRIVER], [select SAP driver]), [
+ sap_driver=${withval}
+ ])
+ AC_SUBST([SAP_DRIVER], [sap-${sap_driver}.c])
+
AC_ARG_ENABLE(serial, AC_HELP_STRING([--disable-serial], [disable serial plugin]), [
serial_enable=${enableval}
])