Remove PERL_PATH from Autotools build

We don't use Perl for glib-mkenums any more.
This commit is contained in:
Emmanuele Bassi 2017-10-09 11:18:51 +01:00
parent 2c6c03290f
commit 7b15f12f0e
3 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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}

View File

@ -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)