Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
fa0a5acc
Commit
fa0a5acc
authored
Feb 14, 2011
by
Gary Benson
Committed by
Gary Benson
Feb 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PR libjava/47484: Install Python modules into versioned directory
From-SVN: r170131
parent
88d0743e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
22 deletions
+23
-22
libjava/ChangeLog
+7
-0
libjava/configure
+8
-11
libjava/configure.ac
+8
-11
No files found.
libjava/ChangeLog
View file @
fa0a5acc
2011-02-14 Gary Benson <gbenson@redhat.com>
PR libjava/47484
* configure.ac (python_mod_dir, python_mod_dir_expanded):
Install Python modules into versioned directory.
* configure: Regenerate.
2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
* configure: Regenerate.
...
...
libjava/configure
View file @
fa0a5acc
...
@@ -24631,25 +24631,22 @@ here=`${PWDCMD-pwd}`
...
@@ -24631,25 +24631,22 @@ here=`${PWDCMD-pwd}`
# We get this from the environment.
# We get this from the environment.
default_python_dir
=
"/share/gcc-
`
cat
${
srcdir
}
/../gcc/BASE-VER
`
/python/libjava"
# Check whether --with-python-dir was given.
# Check whether --with-python-dir was given.
if
test
"
${
with_python_dir
+set
}
"
=
set
;
then
:
if
test
"
${
with_python_dir
+set
}
"
=
set
;
then
:
withval
=
$with_python_dir
;
with_python_dir
=
$withval
withval
=
$with_python_dir
;
with_python_dir
=
$withval
else
else
with_python_dir
=
""
with_python_dir
=
"
${
default_python_dir
}
"
fi
fi
if
test
"x
${
with_python_dir
}
"
=
"x"
# Needed for installing Python modules during make install.
then
python_mod_dir
=
"
\$
{prefix}
${
with_python_dir
}
"
# Needed for installing Python modules during make install.
python_mod_dir
=
"
\$
{prefix}/share/python"
# Needed for substituting into aot-compile*
# Needed for substituting into aot-compile*
python_mod_dir_expanded
=
"
${
expanded_prefix
}${
with_python_dir
}
"
python_mod_dir_expanded
=
"
${
expanded_prefix
}
/share/python"
else
python_mod_dir
=
"
\$
{prefix}
${
with_python_dir
}
"
python_mod_dir_expanded
=
"
${
expanded_prefix
}${
with_python_dir
}
"
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: Python modules dir:
${
python_mod_dir_expanded
}
"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: Python modules dir:
${
python_mod_dir_expanded
}
"
>
&5
$as_echo
"Python modules dir:
${
python_mod_dir_expanded
}
"
>
&6
;
}
;
$as_echo
"Python modules dir:
${
python_mod_dir_expanded
}
"
>
&6
;
}
;
...
...
libjava/configure.ac
View file @
fa0a5acc
...
@@ -1843,21 +1843,18 @@ AC_SUBST(here)
...
@@ -1843,21 +1843,18 @@ AC_SUBST(here)
# We get this from the environment.
# We get this from the environment.
AC_SUBST(GCJFLAGS)
AC_SUBST(GCJFLAGS)
default_python_dir="/share/gcc-`cat ${srcdir}/../gcc/BASE-VER`/python/libjava"
AC_ARG_WITH([python-dir],
AC_ARG_WITH([python-dir],
AS_HELP_STRING([--with-python-dir],
AS_HELP_STRING([--with-python-dir],
[the location to install Python modules. This path should NOT include the prefix.]),
[the location to install Python modules. This path should NOT include the prefix.]),
[with_python_dir=$withval], [with_python_dir=""])
[with_python_dir=$withval], [with_python_dir="${default_python_dir}"])
# Needed for installing Python modules during make install.
python_mod_dir="\${prefix}${with_python_dir}"
# Needed for substituting into aot-compile*
python_mod_dir_expanded="${expanded_prefix}${with_python_dir}"
if test "x${with_python_dir}" = "x"
then
# Needed for installing Python modules during make install.
python_mod_dir="\${prefix}/share/python"
# Needed for substituting into aot-compile*
python_mod_dir_expanded="${expanded_prefix}/share/python"
else
python_mod_dir="\${prefix}${with_python_dir}"
python_mod_dir_expanded="${expanded_prefix}${with_python_dir}"
fi
AC_MSG_RESULT(Python modules dir: ${python_mod_dir_expanded});
AC_MSG_RESULT(Python modules dir: ${python_mod_dir_expanded});
AC_SUBST(python_mod_dir)
AC_SUBST(python_mod_dir)
AC_SUBST(python_mod_dir_expanded)
AC_SUBST(python_mod_dir_expanded)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment