Message ID | 20200513213812.23165-1-sonnysasaka@chromium.org (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Marcel Holtmann |
Headers | show |
Series | [v2] build: Add an option to explicitly enable hid2hci | expand |
Hi Sonny, > hid2hci is no longer a common use. This patch changes the default to not > build and install hid2hci and provide a configure flag --enable-hid2hci > to explicitly enable it. > --- > configure.ac | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) patch has been applied. Regards Marcel
diff --git a/configure.ac b/configure.ac index 1433ace4a..e1c8fd9ad 100644 --- a/configure.ac +++ b/configure.ac @@ -218,7 +218,9 @@ if (test "${enable_udev}" != "no" && test -z "${path_udevdir}"); then fi AC_SUBST(UDEV_DIR, [${path_udevdir}]) -AM_CONDITIONAL(HID2HCI, test "${enable_tools}" != "no" && +AC_ARG_ENABLE(hid2hci, AC_HELP_STRING([--enable-hid2hci], + [enable hid2hci tool]), [enable_hid2hci=${enableval}]) +AM_CONDITIONAL(HID2HCI, test "${enable_hid2hci}" = "yes" && test "${enable_udev}" != "no") AC_ARG_ENABLE(cups, AC_HELP_STRING([--disable-cups],