summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-14 10:47:49 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-05-14 10:47:49 +0000
commit68dc1b1a461792897e7be1cafb97b1f80e6aa304 (patch)
treed5525b607833135a1eb0777a0cdbed6f0f34fdaa /acinclude.m4
parenta16c5df68407649eb2c190ab71ab0a0be25209e6 (diff)
Make it possible to disable installation of manual pages
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 2d8c75b12..8cb46f3b4 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -170,6 +170,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
pand_enable=yes
test_enable=no
cups_enable=no
+ manpages_enable=yes
configfiles_enable=yes
initscripts_enable=no
pcmciarules_enable=no
@@ -200,6 +201,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
pand_enalbe=${enableval}
test_enable=${enableval}
cups_enable=${enableval}
+ manpages_enable=${enableval}
configfiles_enable=${enableval}
initscripts_enable=${enableval}
pcmciarules_enable=${enableval}
@@ -285,6 +287,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
cups_enable=${enableval}
])
+ AC_ARG_ENABLE(manpages, AC_HELP_STRING([--enable-manpages], [install Bluetooth manual pages]), [
+ manpages_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(configfiles, AC_HELP_STRING([--enable-configfiles], [install Bluetooth config files]), [
configfiles_enable=${enableval}
])
@@ -365,6 +371,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(PAND, test "${pand_enable}" = "yes")
AM_CONDITIONAL(TEST, test "${test_enable}" = "yes")
AM_CONDITIONAL(CUPS, test "${cups_enable}" = "yes")
+ AM_CONDITIONAL(MANPAGES, test "${manpages_enable}" = "yes")
AM_CONDITIONAL(CONFIGFILES, test "${configfiles_enable}" = "yes")
AM_CONDITIONAL(INITSCRIPTS, test "${initscripts_enable}" = "yes")
AM_CONDITIONAL(PCMCIARULES, test "${pcmciarules_enable}" = "yes")