Content-Type: multipart/mixed; boundary="===============2526143331439560546==" MIME-Version: 1.0 From: Tony Espy Subject: [PATCH 2/2 v5] build: add support for upower plugin Date: Thu, 17 Dec 2015 18:29:15 -0500 Message-ID: <1450394955-19361-2-git-send-email-espy@canonical.com> In-Reply-To: <1450394955-19361-1-git-send-email-espy@canonical.com> List-Id: To: ofono@ofono.org --===============2526143331439560546== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- Makefile.am | 5 +++++ configure.ac | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Makefile.am b/Makefile.am index 8bbe25c..962ead9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -517,6 +517,11 @@ builtin_sources +=3D plugins/bluez5.c plugins/bluez5.h builtin_modules +=3D hfp_ag_bluez5 builtin_sources +=3D plugins/hfp_ag_bluez5.c plugins/bluez5.h endif + +if UPOWER +builtin_modules +=3D upower +builtin_sources +=3D plugins/upower.c +endif endif = if PROVISION diff --git a/configure.ac b/configure.ac index b8d42c8..f6253e5 100644 --- a/configure.ac +++ b/configure.ac @@ -213,6 +213,11 @@ if (test "${enable_provision}" !=3D "no"); then fi AM_CONDITIONAL(PROVISION, test "${enable_provision}" !=3D "no") = +AC_ARG_ENABLE(upower, AC_HELP_STRING([--disable-upower], + [disable UPower plugin]), + [enable_upower=3D${enableval}]) +AM_CONDITIONAL(UPOWER, test "${enable_power}" !=3D "no") + AC_ARG_ENABLE(datafiles, AC_HELP_STRING([--disable-datafiles], [do not install configuration and data files]), [enable_datafiles=3D${enableval}]) -- = 2.1.4 --===============2526143331439560546==--