[gnome-builder/wip/chergert/multi-process: 6/7] jedi: require python scripting is enabled



commit 7aff2f38e2d17e04d15487b315d47aebbb186d6b
Author: Christian Hergert <chergert redhat com>
Date:   Mon Oct 19 21:25:46 2015 -0700

    jedi: require python scripting is enabled
    
    We require that Builder.py is installed for the jedi plugin.
    
    This requires that pygobject was found and pygobject scripting is a
    convenient alias.

 plugins/jedi/configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/jedi/configure.ac b/plugins/jedi/configure.ac
index 769861d..a84bf56 100644
--- a/plugins/jedi/configure.ac
+++ b/plugins/jedi/configure.ac
@@ -6,7 +6,7 @@ AC_ARG_ENABLE([jedi-plugin],
               [enable_jedi_plugin=yes])
 
 # for if ENABLE_JEDI_PLUGIN in Makefile.am
-AM_CONDITIONAL(ENABLE_JEDI_PLUGIN, test x$enable_jedi_plugin != xno)
+AM_CONDITIONAL(ENABLE_JEDI_PLUGIN, test x$enable_python_scripting = xyes && test x$enable_jedi_plugin = xyes)
 
 # Ensure our makefile is generated by autoconf
 AC_CONFIG_FILES([plugins/jedi/Makefile])


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