[glib] Remove PERL_PATH from Autotools build



commit 7b15f12f0efefd7fbcb56f201eba4aaebe7b9007
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Oct 9 11:18:51 2017 +0100

    Remove PERL_PATH from Autotools build
    
    We don't use Perl for glib-mkenums any more.

 configure.ac              |   10 ----------
 win32/gen_util_scripts.py |    1 -
 win32/setup.py            |    1 -
 3 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 56c831c..39a90a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -369,16 +369,6 @@ if test "x$enable_rebuilds" = "xyes" && \
 fi
 AC_SUBST(REBUILD)
 
-# Need full path to Perl for glib-mkenums
-#
-if test "x$PERL" != x ; then
-  AC_PATH_PROG(PERL_PATH, [$PERL])
-fi
-if test "x$PERL_PATH" = x ; then
-  PERL_PATH="/usr/bin/env perl"
-fi
-AC_SUBST(PERL_PATH)
-
 # option to specify python interpreter to use; this just sets $PYTHON, so that
 # we will fallback to reading $PYTHON if --with-python is not given, and
 # python.m4 will get the expected input
diff --git a/win32/gen_util_scripts.py b/win32/gen_util_scripts.py
index a3dfdee..2ecba44 100644
--- a/win32/gen_util_scripts.py
+++ b/win32/gen_util_scripts.py
@@ -14,7 +14,6 @@ def main(argv):
     args = parser.parse_args()
 
     replace_items = {'@PYTHON@': 'python',
-                     '@PERL_PATH@': 'perl',
                      '@GLIB_VERSION@': args.version,
                      '@VERSION@': args.version}
 
diff --git a/win32/setup.py b/win32/setup.py
index ec57dc8..74e4a13 100644
--- a/win32/setup.py
+++ b/win32/setup.py
@@ -292,7 +292,6 @@ def main(argv):
 
     #------------ submodule gobject -------------------
     mkenums_vars = ver.copy()
-    mkenums_vars.update({'PERL_PATH': opt.perl})
     process_in(os.path.join(srcroot, 'gobject', 'glib-mkenums.in'),
                os.path.join(srcroot, 'gobject', 'glib-mkenums'),
                mkenums_vars)


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