[libgda] Options: renamed enable-json to json



commit bcb2268233bf8cb329424e7bb92fdc53074903b7
Author: Daniel Espinosa <esodan gmail com>
Date:   Sun Jan 31 14:59:26 2021 -0600

    Options: renamed enable-json to json

 meson.build       | 4 ++--
 meson_options.txt | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index 758040ae3..e62ab1f68 100644
--- a/meson.build
+++ b/meson.build
@@ -231,7 +231,7 @@ glade_pixmap = ''
 
 gnome_module = import('gnome')
 
-if get_option('enable-json')
+if get_option('json')
   jsonglib_dep = dependency('json-glib-1.0')
 endif
 
@@ -330,7 +330,7 @@ if enable_ui
        gtksourceview_dep = dependency('gtksourceview-3.0')
        graphviz_dep = dependency('libgvc', required: false)
        graphviz_cargs = []
-       if get_option('with-graphviz') and graphviz_dep.found()
+       if get_option('graphviz') and graphviz_dep.found()
                graph_new_api_code = '''#include <gvc.h>
 int main() {
        Agraph_t *graph;
diff --git a/meson_options.txt b/meson_options.txt
index 25a2882ca..87f32143b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,8 +2,8 @@ option('ui', type : 'boolean', value : true, description : 'Enable GTK+ extensio
 #option('gtksourceview', type : 'boolean', value : false, description : 'Enable using GtkSourceView')
 option('help', type : 'boolean', value : true, description : 'Enable building help (GdaBrowser)')
 option('with-goocanvas', type : 'boolean', value : false, description : 'Enable using GooCanvas')
-option('with-graphviz', type : 'boolean', value : false, description : 'Enable using Graphviz')
-option('enable-json', type : 'boolean', value : true, description : 'Enable support for JSON, disabled by 
default')
+option('graphviz', type : 'boolean', value : false, description : 'Enable using Graphviz')
+option('json', type : 'boolean', value : true, description : 'Enable support for JSON, disabled by default')
 option('enable-gda-gi', type : 'boolean', value : false, description : 'Enable GObject Introspection for 
libgda')
 option('disable-sqlcipher', type : 'boolean', value : false, description : 'Disable SQLCipher database 
provider')
 option('with-libsoup', type : 'boolean', value : true, description : 'Enable libsoup support')


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