[libgda/LIBGDA_5.2] Fixed behavior of --enable-gdaui-vala



commit 8f758c511efed74ae8cdd115bcdf8174b557aa35
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Fri Feb 8 14:23:48 2019 -0600

    Fixed behavior of --enable-gdaui-vala

 configure.ac | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 4a5c9ea8b..54dc58812 100644
--- a/configure.ac
+++ b/configure.ac
@@ -529,7 +529,17 @@ AM_CONDITIONAL(ENABLE_VAPIGEN, test x$enable_vala = xyes)
 
 AC_ARG_ENABLE([gdaui-vala],
     AS_HELP_STRING([--disable-gdaui-vala[=@<:@yes/no@:>@]], [Generate Vala bindings and extensions]),
-    [disable_gdaui_vala=yes],[disable_gdaui_vala=no])
+    [
+      if test x$enableval = xyes
+      then
+        disable_gdaui_vala=no
+      else
+        disable_gdaui_vala=yes
+      fi
+      ],
+      [
+        disable_gdaui_vala=no
+      ])
 
 if test x$enable_vala != xyes -o x$disable_gdaui_gi = xyes -o x$have_ui = xno
 then


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