[gnome-online-accounts] build: Add --with-template-file



commit b4d1b98efc3d749c75fae48f2fcd92a17059e4a3
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Sep 13 18:23:51 2016 +0200

    build: Add --with-template-file
    
    This is meant to specify the path to the templates file during the
    build. Templates won't work if this is left out.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771366

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fcda8f6..5343731 100644
--- a/configure.ac
+++ b/configure.ac
@@ -179,6 +179,13 @@ if test "$enable_inspector" != "no"; then
   AC_DEFINE(GOA_INSPECTOR_ENABLED, 1, [Enable a WebKitWebInspector for the embedded web view])
 fi
 
+AC_ARG_WITH(template-file,
+            [AS_HELP_STRING([--with-template-file],
+                            [Path to the template file])],
+                            [],
+                            [])
+AC_DEFINE_UNQUOTED(GOA_TEMPLATE_FILE, ["$with_template_file"], [Path to the template file])
+
 # service providers
 #
 
@@ -580,6 +587,7 @@ echo "
        backend:                        ${enable_backend}
        inspector:                      ${enable_inspector}
        introspection:                  ${found_introspection}
+       template file:                  ${with_template_file}
 
        Flickr provider:                ${enable_flickr} (OAuth 1.0, key:${with_flickr_consumer_key} 
secret:${with_flickr_consumer_secret})
        Foursquare provider:            ${enable_foursquare} (id:${with_foursquare_client_id})


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