[gnome-online-accounts/wip/rishi/fedora-provider: 9/12] build: Decouple the identity service from the Kerberos provider



commit 32174692b243d53789e17e8ccca23334725b1f77
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Aug 2 15:17:33 2019 +0200

    build: Decouple the identity service from the Kerberos provider
    
    A subsequent commit will add a provider for the Fedora Account System,
    which will be a branded Kerberos provider. To support enabling and
    disabling the Fedora and Kerberos providers independent of each other,
    it is necessary to introduce a separate variable to govern the building
    of the identity service, which will be shared by the two.
    
    https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/26

 configure.ac                | 5 +++++
 src/goaidentity/Makefile.am | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 38e0eae4..3361c554 100644
--- a/configure.ac
+++ b/configure.ac
@@ -384,6 +384,11 @@ if test "$enable_lastfm" != "no"; then
   AC_DEFINE(GOA_LASTFM_ENABLED, 1, [Enable LastFM data provider])
 fi
 
+# Identity service
+#
+
+AM_CONDITIONAL(BUILD_IDENTITY_SERVICE, [test x$enable_kerberos != xno])
+
 # Optional timerfd support
 AC_MSG_CHECKING([for timerfd support])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
diff --git a/src/goaidentity/Makefile.am b/src/goaidentity/Makefile.am
index ec3dad80..da09a0e4 100644
--- a/src/goaidentity/Makefile.am
+++ b/src/goaidentity/Makefile.am
@@ -78,7 +78,7 @@ goaidentityenumtypes.c: goaidentityenumtypes.c.in $(identity_headers)
 EXTRA_DIST += goaidentityenumtypes.c.in
 BUILT_SOURCES += goaidentityenumtypes.c
 
-if BUILD_KERBEROS
+if BUILD_IDENTITY_SERVICE
 libexec_PROGRAMS = goa-identity-service
 
 goa_identity_service_SOURCES =                                         \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]