summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-13 23:53:00 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-13 23:53:00 +0000
commit54b33571eb8833f86d17957ff5a3309512aab57b (patch)
treebc1987428bd7cc2c479a62f3dcef27c249079905 /acinclude.m4
parentf69ca2b89cb0e3913c7da700031c4290a20d2d01 (diff)
Make installation of hcid and sdpd conditional
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 14fea03e..88488064 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -145,6 +145,8 @@ AC_DEFUN([AC_ARG_BLUEZ], [
sync_enable=${opensync_found}
fuse_enable=no
alsa_enable=no
+ hcid_enable=yes
+ sdpd_enable=no
test_enable=no
cups_enable=no
configfiles_enable=yes
@@ -172,6 +174,8 @@ AC_DEFUN([AC_ARG_BLUEZ], [
obex_enable=${enableval}
fuse_enable=${enableval}
alsa_enable=${enableval}
+ hcid_enable=${enableval}
+ sdpd_enable=${enableval}
test_enable=${enableval}
cups_enable=${enableval}
configfiles_enable=${enableval}
@@ -211,6 +215,14 @@ AC_DEFUN([AC_ARG_BLUEZ], [
alsa_enable=${enableval}
])
+ AC_ARG_ENABLE(hcid, AC_HELP_STRING([--enable-hcid], [install HCI daemon]), [
+ hcid_enable=${enableval}
+ ])
+
+ AC_ARG_ENABLE(sdpd, AC_HELP_STRING([--enable-sdpd], [install SDP daemon]), [
+ sdpd_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-test], [install test programs]), [
test_enable=${enableval}
])
@@ -271,6 +283,8 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(SYNC, test "${sync_enable}" = "yes" && test "${opensync_found}" = "yes")
AM_CONDITIONAL(FUSE, test "${fuse_enable}" = "yes" && test "${openobex_found}" = "yes" && test "${fuse_found}" = "yes")
AM_CONDITIONAL(ALSA, test "${alsa_enable}" = "yes" && test "${alsa_found}" = "yes")
+ AM_CONDITIONAL(HCID, test "${hcid_enable}" = "yes")
+ AM_CONDITIONAL(SDPD, test "${sdpd_enable}" = "yes")
AM_CONDITIONAL(TEST, test "${test_enable}" = "yes")
AM_CONDITIONAL(CUPS, test "${cups_enable}" = "yes")
AM_CONDITIONAL(CONFIGFILES, test "${configfiles_enable}" = "yes")