[libgda/LIBGDA_5.2] Fixed behavior for --with-ui



commit e9b2b2dda5427bc3d0579a60951c588a4c1d0f5c
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Fri Feb 8 15:01:58 2019 -0600

    Fixed behavior for --with-ui

 configure.ac | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f318a3ab6..7a93b8dc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,9 +182,14 @@ have_sourceview=no
 have_glade=no
 AC_ARG_WITH(ui,
        AS_HELP_STRING([--with-ui], [Enable GTK+ extension and tools]),
-       ,with_ui=auto)
+       [
+               with_ui=$withval
+       ],
+       [
+               with_ui=auto
+       ])
 
-if test "$with_ui" = "auto" -o "$with_ui" = "yes"
+if test "$with_ui" = xauto -o "$with_ui" = xyes
 then
        GTK_MODULES="gtk+-3.0 >= 3.0.0"
        PKG_CHECK_MODULES(GTK, $GTK_MODULES, [


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