* configure.in (RUBY_INSTALL_NAME): use --program-transform-name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8191f129b5
commit
3a60f6efdc
@ -1,4 +1,6 @@
|
|||||||
Fri Apr 10 03:01:24 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Apr 10 03:46:44 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (RUBY_INSTALL_NAME): use --program-transform-name.
|
||||||
|
|
||||||
* instruby.rb, mkconfig.rb: deal with --program-transform-name
|
* instruby.rb, mkconfig.rb: deal with --program-transform-name
|
||||||
better. now supports s, y commands and single addressing.
|
better. now supports s, y commands and single addressing.
|
||||||
|
@ -111,6 +111,8 @@ fi
|
|||||||
if test "$program_prefix" = NONE; then
|
if test "$program_prefix" = NONE; then
|
||||||
program_prefix=
|
program_prefix=
|
||||||
fi
|
fi
|
||||||
|
RUBY_BASE_NAME=`echo ruby | sed "$program_transform_name"`
|
||||||
|
RUBYW_BASE_NAME=`echo rubyw | sed "$program_transform_name"`
|
||||||
|
|
||||||
AC_CANONICAL_TARGET
|
AC_CANONICAL_TARGET
|
||||||
target_os=`echo $target_os | sed 's/linux-gnu$/linux/;s/linux-gnu/linux-/'`
|
target_os=`echo $target_os | sed 's/linux-gnu$/linux/;s/linux-gnu/linux-/'`
|
||||||
@ -2266,10 +2268,10 @@ ri_suffix=
|
|||||||
test "$program_suffix" != NONE &&
|
test "$program_suffix" != NONE &&
|
||||||
ri_suffix=$program_suffix
|
ri_suffix=$program_suffix
|
||||||
|
|
||||||
RUBY_INSTALL_NAME="${ri_prefix}ruby${ri_suffix}"
|
RUBY_INSTALL_NAME="${ri_prefix}${RUBY_BASE_NAME}${ri_suffix}"
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
when(cygwin*|mingw*)
|
when(cygwin*|mingw*)
|
||||||
RUBYW_INSTALL_NAME="${ri_prefix}rubyw${ri_suffix}"
|
RUBYW_INSTALL_NAME="${ri_prefix}${RUBYW_BASE_NAME}${ri_suffix}"
|
||||||
rubyw_install_name="$RUBYW_INSTALL_NAME"
|
rubyw_install_name="$RUBYW_INSTALL_NAME"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user