From 0819e1aafdbabf36ac2e45fa908b97523495a253 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 11 Dec 2012 11:49:45 +0100 Subject: [PATCH] build: Add configure option for disabling CUPS support --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 99ef7dea3..553aa8483 100644 --- a/configure.ac +++ b/configure.ac @@ -155,7 +155,10 @@ AM_CONDITIONAL(UDEV, test "${enable_udev}" != "no") AM_CONDITIONAL(HID2HCI, test "${enable_tools}" != "no" && test "${enable_udev}" != "no" && test "${enable_usb}" != "no") -AM_CONDITIONAL(CUPS, test "${enable_tools}" != "no") + +AC_ARG_ENABLE(cups, AC_HELP_STRING([--disable-cups], + [disable CUPS printer support]), [enable_cups=${enableval}]) +AM_CONDITIONAL(CUPS, test "${enable_cups}" != "no") AC_ARG_ENABLE(obex, AC_HELP_STRING([--disable-obex], [disable OBEX profile support]), [enable_obex=${enableval}]) -- 2.47.3