Commit f3392d53 by Ralf Wildenhues Committed by Ralf Wildenhues

Work with defaulted $prefix (NONE) in libjava.

libjava/:
	PR bootstrap/38867
	* configure.ac (expanded_prefix): New variable, set to the
	default prefix if none was passed on the command line.
	* configure: Regenerate.

From-SVN: r153820
parent e150c414
2009-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR bootstrap/38867
* configure.ac (expanded_prefix): New variable, set to the
default prefix if none was passed on the command line.
* configure: Regenerate.
2009-10-22 Matthias Klose <doko@ubuntu.com> 2009-10-22 Matthias Klose <doko@ubuntu.com>
* configure.ac: Rename --enable-plugin to --enable-browser-plugin, * configure.ac: Rename --enable-plugin to --enable-browser-plugin,
......
...@@ -366,7 +366,12 @@ AM_CONDITIONAL(X_AWT, test "$use_x_awt" = yes) ...@@ -366,7 +366,12 @@ AM_CONDITIONAL(X_AWT, test "$use_x_awt" = yes)
AC_DEFINE_UNQUOTED(AWT_TOOLKIT, "$TOOLKIT", [Name of default AWT toolkit]) AC_DEFINE_UNQUOTED(AWT_TOOLKIT, "$TOOLKIT", [Name of default AWT toolkit])
AC_DEFINE_UNQUOTED(LIBGCJ_PREFIX, "$prefix", [Installation prefix]) expanded_prefix=$prefix
if test "X$prefix" = XNONE; then
expanded_prefix=${ac_default_prefix}
fi
AC_DEFINE_UNQUOTED(LIBGCJ_PREFIX, "$expanded_prefix", [Installation prefix])
# Create standard.omit based on decisions we just made. # Create standard.omit based on decisions we just made.
cp $srcdir/standard.omit.in standard.omit cp $srcdir/standard.omit.in standard.omit
...@@ -1437,7 +1442,7 @@ if test ! -f gnu/classpath/Configuration.java; then ...@@ -1437,7 +1442,7 @@ if test ! -f gnu/classpath/Configuration.java; then
test -d gnu || mkdir gnu test -d gnu || mkdir gnu
test -d gnu/classpath || mkdir gnu/classpath test -d gnu/classpath || mkdir gnu/classpath
# Note that it is not crucial that all the values here be correct. # Note that it is not crucial that all the values here be correct.
sed -e "s,@prefix@,$prefix," \ sed -e "s,@prefix@,$expanded_prefix," \
-e "s,@VERSION@,$VERSION," \ -e "s,@VERSION@,$VERSION," \
-e "s,@LIBDEBUG@,false," \ -e "s,@LIBDEBUG@,false," \
-e "s,@INIT_LOAD_LIBRARY@,false," \ -e "s,@INIT_LOAD_LIBRARY@,false," \
...@@ -1775,10 +1780,10 @@ then ...@@ -1775,10 +1780,10 @@ then
# Needed for installing Python modules during make install. # Needed for installing Python modules during make install.
python_mod_dir="\${prefix}/share/python" python_mod_dir="\${prefix}/share/python"
# Needed for substituting into aot-compile* # Needed for substituting into aot-compile*
python_mod_dir_expanded="${prefix}/share/python" python_mod_dir_expanded="${expanded_prefix}/share/python"
else else
python_mod_dir="\${prefix}${with_python_dir}" python_mod_dir="\${prefix}${with_python_dir}"
python_mod_dir_expanded="${prefix}${with_python_dir}" python_mod_dir_expanded="${expanded_prefix}${with_python_dir}"
fi 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)
...@@ -1956,7 +1961,7 @@ then ...@@ -1956,7 +1961,7 @@ then
LIBDIR=$libdir LIBDIR=$libdir
if test "x${exec_prefix}" = "xNONE" if test "x${exec_prefix}" = "xNONE"
then then
lib_exec_prefix=$prefix lib_exec_prefix=$expanded_prefix
else else
lib_exec_prefix=$exec_prefix lib_exec_prefix=$exec_prefix
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment