[gnome-online-accounts] build: Style fixes



commit c2894394207c9b84c5856d89db02a2194ba39b44
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Jun 12 21:01:27 2017 +0200

    build: Style fixes

 configure.ac |  177 ++++++++++++++++++++++++----------------------------------
 1 files changed, 74 insertions(+), 103 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5d83b63..25cbadd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,8 +171,7 @@ if test "$enable_backend" != "no"; then
 fi
 
 AC_ARG_ENABLE([inspector],
-              [AS_HELP_STRING([--enable-inspector],
-              [Enable a WebKitWebInspector for the embedded web view])],
+              [AS_HELP_STRING([--enable-inspector], [Enable a WebKitWebInspector for the embedded web 
view])],
               [],
               [enable_inspector=no])
 if test "$enable_inspector" != "no"; then
@@ -180,10 +179,9 @@ if test "$enable_inspector" != "no"; then
 fi
 
 AC_ARG_WITH(template-file,
-            [AS_HELP_STRING([--with-template-file],
-                            [Path to the 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
@@ -192,8 +190,7 @@ AC_DEFINE_UNQUOTED(GOA_TEMPLATE_FILE, ["$with_template_file"], [Path to the temp
 # Microsoft Exchange
 AC_DEFINE(GOA_EXCHANGE_NAME, ["exchange"], [ProviderType and extension point name])
 AC_ARG_ENABLE([exchange],
-              [AS_HELP_STRING([--enable-exchange],
-              [Enable Microsoft Exchange provider])],
+              [AS_HELP_STRING([--enable-exchange], [Enable Microsoft Exchange provider])],
               [],
               [enable_exchange=yes])
 if test "$enable_exchange" != "no"; then
@@ -202,17 +199,18 @@ fi
 
 # Flickr
 AC_DEFINE(GOA_FLICKR_NAME, ["flickr"], [ProviderType and extension point name])
-AC_ARG_ENABLE([flickr], [AS_HELP_STRING([--enable-flickr], [Enable Flickr provider])], [], 
[enable_flickr=yes])
+AC_ARG_ENABLE([flickr],
+              [AS_HELP_STRING([--enable-flickr], [Enable Flickr provider])],
+              [],
+              [enable_flickr=yes])
 AC_ARG_WITH(flickr-consumer-key,
-            [AS_HELP_STRING([--with-flickr-consumer-key],
-                            [Flickr OAuth 1.0 consumer key])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-flickr-consumer-key], [Flickr OAuth 1.0 consumer key])],
+            [],
+            [])
 AC_ARG_WITH(flickr-consumer-secret,
-            [AS_HELP_STRING([--with-flickr-consumer-secret],
-                            [Flickr OAuth 1.0 consumer secret])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-flickr-consumer-secret], [Flickr OAuth 1.0 consumer secret])],
+            [],
+            [])
 if test "$with_flickr_consumer_key" = ""; then
   with_flickr_consumer_key=ed00ad7e0869897506e23c0d18e34d01
 fi
@@ -228,50 +226,43 @@ fi
 # Foursquare
 AC_DEFINE(GOA_FOURSQUARE_NAME, ["foursquare"], [ProviderType and extension point name])
 AC_ARG_ENABLE([foursquare],
-              [AS_HELP_STRING([--enable-foursquare],
-                              [Enable Foursquare provider])],
-                              [],
-                              [enable_foursquare=yes])
+              [AS_HELP_STRING([--enable-foursquare], [Enable Foursquare provider])],
+              [],
+              [enable_foursquare=yes])
 AC_ARG_WITH(foursquare-client-id,
-            [AS_HELP_STRING([--with-foursquare-client-id],
-                            [Foursquare OAuth 2.0 client id])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-foursquare-client-id], [Foursquare OAuth 2.0 client id])],
+            [],
+            [])
 if test "$with_foursquare_client_id" = ""; then
   with_foursquare_client_id="MBNU2NES5HASNDQJ25YPFGG2UGRZHPI3IYTNJGE0KIWT2HCF"
 fi
-AC_DEFINE_UNQUOTED(GOA_FOURSQUARE_CLIENT_ID,
-                   ["$with_foursquare_client_id"],
-                   [Foursquare OAuth 2.0 client id])
+AC_DEFINE_UNQUOTED(GOA_FOURSQUARE_CLIENT_ID, ["$with_foursquare_client_id"], [Foursquare OAuth 2.0 client 
id])
 if test "$enable_foursquare" != "no"; then
   AC_DEFINE(GOA_FOURSQUARE_ENABLED, 1, [Enable Foursquare data provider])
 fi
 
 # Google
 AC_DEFINE(GOA_GOOGLE_NAME, ["google"], [ProviderType and extension point name])
-AC_ARG_ENABLE([google], [AS_HELP_STRING([--enable-google], [Enable Google provider])], [], 
[enable_google=yes])
+AC_ARG_ENABLE([google],
+              [AS_HELP_STRING([--enable-google], [Enable Google provider])],
+              [],
+              [enable_google=yes])
 AC_ARG_WITH(google-client-id,
-            [AS_HELP_STRING([--with-google-client-id],
-                            [Google OAuth 2.0 client id])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-google-client-id], [Google OAuth 2.0 client id])],
+            [],
+            [])
 AC_ARG_WITH(google-client-secret,
-            [AS_HELP_STRING([--with-google-client-secret],
-                            [Google OAuth 2.0 client secret])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-google-client-secret], [Google OAuth 2.0 client secret])],
+            [],
+            [])
 if test "$with_google_client_id" = ""; then
   with_google_client_id=44438659992-7kgjeitenc16ssihbtdjbgguch7ju55s.apps.googleusercontent.com
 fi
 if test "$with_google_client_secret" = ""; then
   with_google_client_secret=-gMLuQyDiI0XrQS_vx_mhuYF
 fi
-AC_DEFINE_UNQUOTED(GOA_GOOGLE_CLIENT_ID,
-                   ["$with_google_client_id"],
-                   [Google OAuth 2.0 client id])
-AC_DEFINE_UNQUOTED(GOA_GOOGLE_CLIENT_SECRET,
-                   ["$with_google_client_secret"],
-                   [Google OAuth 2.0 client secret])
+AC_DEFINE_UNQUOTED(GOA_GOOGLE_CLIENT_ID, ["$with_google_client_id"], [Google OAuth 2.0 client id])
+AC_DEFINE_UNQUOTED(GOA_GOOGLE_CLIENT_SECRET, ["$with_google_client_secret"], [Google OAuth 2.0 client 
secret])
 if test "$enable_google" != "no"; then
   AC_DEFINE(GOA_GOOGLE_ENABLED, 1, [Enable Google data provider])
 fi
@@ -279,8 +270,7 @@ fi
 # IMAP/SMTP
 AC_DEFINE(GOA_IMAP_SMTP_NAME, ["imap_smtp"], [ProviderType and extension point name])
 AC_ARG_ENABLE([imap-smtp],
-              [AS_HELP_STRING([--enable-imap-smtp],
-              [Enable IMAP/SMTP provider])],
+              [AS_HELP_STRING([--enable-imap-smtp], [Enable IMAP/SMTP provider])],
               [],
               [enable_imap_smtp=yes])
 if test "$enable_imap_smtp" != "no"; then
@@ -290,8 +280,7 @@ fi
 # Media Server
 AC_DEFINE(GOA_MEDIA_SERVER_NAME, ["media-server"], [ProviderType and extension point name])
 AC_ARG_ENABLE([media-server],
-              [AS_HELP_STRING([--enable-media-server],
-              [Enable Media Server provider])],
+              [AS_HELP_STRING([--enable-media-server], [Enable Media Server provider])],
               [],
               [enable_media_server=no])
 if test "$enable_media_server" != "no"; then
@@ -301,8 +290,7 @@ fi
 # ownCloud
 AC_DEFINE(GOA_OWNCLOUD_NAME, ["owncloud"], [ProviderType and extension point name])
 AC_ARG_ENABLE([owncloud],
-              [AS_HELP_STRING([--enable-owncloud],
-              [Enable ownCloud provider])],
+              [AS_HELP_STRING([--enable-owncloud], [Enable ownCloud provider])],
               [],
               [enable_owncloud=yes])
 if test "$enable_owncloud" != "no"; then
@@ -311,64 +299,54 @@ fi
 
 # Facebook
 AC_DEFINE(GOA_FACEBOOK_NAME, ["facebook"], [ProviderType and extension point name])
-AC_ARG_ENABLE([facebook], [AS_HELP_STRING([--enable-facebook],
-                                          [Enable Facebook provider])],
-                                          [],
-                                          [enable_facebook=yes])
+AC_ARG_ENABLE([facebook],
+              [AS_HELP_STRING([--enable-facebook], [Enable Facebook provider])],
+              [],
+              [enable_facebook=yes])
 AC_ARG_WITH(facebook-client-id,
-            [AS_HELP_STRING([--with-facebook-client-id],
-                            [Facebook OAuth 2.0 client id])],
-                            [],
-                            [])
-
+            [AS_HELP_STRING([--with-facebook-client-id], [Facebook OAuth 2.0 client id])],
+            [],
+            [])
 if test "$with_facebook_client_id" = ""; then
   with_facebook_client_id=297654143624603
 fi
-AC_DEFINE_UNQUOTED(GOA_FACEBOOK_CLIENT_ID,
-                   ["$with_facebook_client_id"],
-                   [Facebook OAuth 2.0 client id])
+AC_DEFINE_UNQUOTED(GOA_FACEBOOK_CLIENT_ID, ["$with_facebook_client_id"], [Facebook OAuth 2.0 client id])
 if test "$enable_facebook" != "no"; then
   AC_DEFINE(GOA_FACEBOOK_ENABLED, 1, [Enable Facebook data provider])
 fi
 
 # Windows Live
 AC_DEFINE(GOA_WINDOWS_LIVE_NAME, ["windows_live"], [ProviderType and extension point name])
-AC_ARG_ENABLE([windows-live], [AS_HELP_STRING([--enable-windows-live],
-                                              [Enable Windows Live provider])],
-                                              [],
-                                              [enable_windows_live=yes])
+AC_ARG_ENABLE([windows-live],
+              [AS_HELP_STRING([--enable-windows-live], [Enable Windows Live provider])],
+              [],
+              [enable_windows_live=yes])
 AC_ARG_WITH(windows-live-client-id,
-            [AS_HELP_STRING([--with-windows-live-client-id],
-                            [Windows Live OAuth 2.0 client id])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-windows-live-client-id], [Windows Live OAuth 2.0 client id])],
+            [],
+            [])
 if test "$with_windows_live_client_id" = ""; then
   with_windows_live_client_id=0000000044067703
 fi
-AC_DEFINE_UNQUOTED(GOA_WINDOWS_LIVE_CLIENT_ID,
-                   ["$with_windows_live_client_id"],
-                   [Windows Live OAuth 2.0 client id])
+AC_DEFINE_UNQUOTED(GOA_WINDOWS_LIVE_CLIENT_ID, ["$with_windows_live_client_id"], [Windows Live OAuth 2.0 
client id])
 if test "$enable_windows_live" != "no"; then
   AC_DEFINE(GOA_WINDOWS_LIVE_ENABLED, 1, [Enable Windows Live data provider])
 fi
 
 # Pocket
 AC_DEFINE(GOA_POCKET_NAME, ["pocket"], [ProviderType and extension point name])
-AC_ARG_ENABLE([pocket], [AS_HELP_STRING([--enable-pocket],
-                                              [Enable Pocket provider])],
-                                              [],
-                                              [enable_pocket=yes])
+AC_ARG_ENABLE([pocket],
+              [AS_HELP_STRING([--enable-pocket], [Enable Pocket provider])],
+              [],
+              [enable_pocket=yes])
 AC_ARG_WITH(pocket-client-id,
-            [AS_HELP_STRING([--with-pocket-client-id],
-                            [Pocket OAuth 2.0 client id])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-pocket-client-id], [Pocket OAuth 2.0 client id])],
+            [],
+            [])
 if test "$with_pocket_client_id" = ""; then
   with_pocket_client_id="16630-40b25246b56e8ad5310b2883"
 fi
-AC_DEFINE_UNQUOTED(GOA_POCKET_CLIENT_ID,
-                   ["$with_pocket_client_id"],
-                   [Pocket OAuth 2.0 client id])
+AC_DEFINE_UNQUOTED(GOA_POCKET_CLIENT_ID, ["$with_pocket_client_id"], [Pocket OAuth 2.0 client id])
 if test "$enable_pocket" != "no"; then
   AC_DEFINE(GOA_POCKET_ENABLED, 1, [Enable Pocket data provider])
 fi
@@ -376,8 +354,7 @@ fi
 # Kerberos
 AC_DEFINE(GOA_KERBEROS_NAME, ["kerberos"], [ProviderType and extension point name])
 AC_ARG_ENABLE([kerberos],
-              [AS_HELP_STRING([--enable-kerberos],
-              [Enable kerberos support])],
+              [AS_HELP_STRING([--enable-kerberos], [Enable kerberos support])],
               [with_kerberos=$enableval],
               [enable_kerberos=no])
 AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin)
@@ -407,32 +384,26 @@ AM_CONDITIONAL(BUILD_KERBEROS, [test x$enable_kerberos != xno])
 
 # Last.fm
 AC_DEFINE(GOA_LASTFM_NAME, ["lastfm"], [ProviderType and extension point name])
-AC_ARG_ENABLE([lastfm], [AS_HELP_STRING([--enable-lastfm],
-                                        [Enable Last.fm provider])],
-                                        [],
-                                        [enable_lastfm=no])
+AC_ARG_ENABLE([lastfm],
+              [AS_HELP_STRING([--enable-lastfm], [Enable Last.fm provider])],
+              [],
+              [enable_lastfm=no])
 AC_ARG_WITH(lastfm-client-id,
-            [AS_HELP_STRING([--with-lastfm-client-id],
-                            [Last.fm client id])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-lastfm-client-id], [Last.fm client id])],
+            [],
+            [])
 AC_ARG_WITH(lastfm-client-secret,
-            [AS_HELP_STRING([--with-lastfm-client-secret],
-                            [Last.fm client secret])],
-                            [],
-                            [])
+            [AS_HELP_STRING([--with-lastfm-client-secret], [Last.fm client secret])],
+            [],
+            [])
 if test "$with_lastfm_client_id" = ""; then
   with_lastfm_client_id="7a2461fe34c9c8124fb28ac750ba12fa"
 fi
 if test "$with_lastfm_client_secret" = ""; then
   with_lastfm_client_secret="49ec391644459c417f3afe57ca246c5a"
 fi
-AC_DEFINE_UNQUOTED(GOA_LASTFM_CLIENT_ID,
-                   ["$with_lastfm_client_id"],
-                   [LastFM client id])
-AC_DEFINE_UNQUOTED(GOA_LASTFM_CLIENT_SECRET,
-                   ["$with_lastfm_client_secret"],
-                   [LastFM client secret])
+AC_DEFINE_UNQUOTED(GOA_LASTFM_CLIENT_ID, ["$with_lastfm_client_id"], [LastFM client id])
+AC_DEFINE_UNQUOTED(GOA_LASTFM_CLIENT_SECRET, ["$with_lastfm_client_secret"], [LastFM client secret])
 if test "$enable_lastfm" != "no"; then
   AC_DEFINE(GOA_LASTFM_ENABLED, 1, [Enable LastFM data provider])
 fi


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