summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 47fc9115..feb08a3c 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -120,6 +120,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
alsa_enable=no
test_enable=no
cups_enable=no
+ configfiles_enable=yes
initscripts_enable=no
pcmciarules_enable=no
bccmd_enable=no
@@ -146,6 +147,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
alsa_enable=${enableval}
test_enable=${enableval}
cups_enable=${enableval}
+ configfiles_enable=${enableval}
initscripts_enable=${enableval}
pcmciarules_enable=${enableval}
bccmd_enable=${enableval}
@@ -178,6 +180,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
cups_enable=${enableval}
])
+ AC_ARG_ENABLE(configfiles, AC_HELP_STRING([--enable-configfiles], [install Bluetooth config files]), [
+ configfiles_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(initscripts, AC_HELP_STRING([--enable-initscripts], [install Bluetooth boot scripts]), [
initscripts_enable=${enableval}
])
@@ -221,6 +227,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(ALSA, test "${alsa_enable}" = "yes" && test "${alsa_found}" = "yes")
AM_CONDITIONAL(TEST, test "${test_enable}" = "yes")
AM_CONDITIONAL(CUPS, test "${cups_enable}" = "yes")
+ AM_CONDITIONAL(CONFIGFILES, test "${configfiles_enable}" = "yes")
AM_CONDITIONAL(INITSCRIPTS, test "${initscripts_enable}" = "yes")
AM_CONDITIONAL(PCMCIARULES, test "${pcmciarules_enable}" = "yes")
AM_CONDITIONAL(BCCMD, test "${bccmd_enable}" = "yes" && test "${usb_found}" = "yes")