[gnumeric: 1/2] Use $PYTHON to determine PYTHON_GIOVERRIDESDIR instead of calling python executable directly This al



commit 3769c63ee75c5a0ece6f0d404d217174f0e45aca
Author: Julian Sikorski <belegdol fedoraproject org>
Date:   Wed Jun 5 18:53:24 2019 +0200

    Use $PYTHON to determine PYTHON_GIOVERRIDESDIR instead of calling python executable directly
    This allows gnumeric to build with newer itstool versions by avoiding python3

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index e65eff59e..5fb52b896 100644
--- a/configure.ac
+++ b/configure.ac
@@ -870,7 +870,7 @@ if test "x$PYTHON" != x; then
     AC_MSG_CHECKING([for python module gi])
     if $PYTHON -c 'import gi' 2>/dev/null; then
         have_python_gi=yes
-       [PYTHON_GIOVERRIDESDIR=`python -c 'import gi; import os.path; 
print(os.path.dirname(gi.__file__)+"/overrides")'`]
+       [PYTHON_GIOVERRIDESDIR=`$PYTHON -c 'import gi; import os.path; 
print(os.path.dirname(gi.__file__)+"/overrides")'`]
     fi
     AC_MSG_RESULT($have_python_gi)
 fi


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