[libgda: 2/5] GObject-introspection configure fix



commit b73bceca536abd54df4c0f9ed71ab963049e547e
Author: Pavlo Solntsev <p sun fun gmail com>
Date:   Thu May 17 21:53:32 2018 -0500

    GObject-introspection configure fix

 configure.ac | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cf9fb337f..15901de03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -502,9 +502,11 @@ AC_ARG_ENABLE([gda-gi],
     AS_HELP_STRING([--enable-gda-gi[=@<:@no/auto/yes@:>@]], [Enable GObject Introspection for libgda 
[default=no]]),
     [enable_gda_gi=$enableval],[enable_gda_gi=auto])
 
-if test "x$enable_introspection" = "xyes" -a "x$found_introspection" = "xyes"
+if test "x$enable_introspection" != "xno" -a "x$found_introspection" = "xyes"
 then
-  enable_gda_gi=yes
+        enable_gda_gi="yes"
+else
+        enable_gda_gi="no"
 fi
 
 if test "x$enable_gda_gi" = "xyes" -a "x$found_introspection" != "xyes"


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