mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Remove PERL_PATH from Autotools build
We don't use Perl for glib-mkenums any more.
This commit is contained in:
parent
2c6c03290f
commit
7b15f12f0e
10
configure.ac
10
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
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user