mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
better. now supports s, y commands and single addressing.
|
||||
|
|
|
@ -111,6 +111,8 @@ fi
|
|||
if test "$program_prefix" = NONE; then
|
||||
program_prefix=
|
||||
fi
|
||||
RUBY_BASE_NAME=`echo ruby | sed "$program_transform_name"`
|
||||
RUBYW_BASE_NAME=`echo rubyw | sed "$program_transform_name"`
|
||||
|
||||
AC_CANONICAL_TARGET
|
||||
target_os=`echo $target_os | sed 's/linux-gnu$/linux/;s/linux-gnu/linux-/'`
|
||||
|
@ -2266,10 +2268,10 @@ ri_suffix=
|
|||
test "$program_suffix" != NONE &&
|
||||
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
|
||||
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"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue