ruby-changes:11536
From: nobu <ko1@a...>
Date: Fri, 10 Apr 2009 03:48:35 +0900 (JST)
Subject: [ruby-changes:11536] Ruby:r23166 (trunk): * configure.in (RUBY_INSTALL_NAME): use --program-transform-name.
nobu 2009-04-10 03:46:59 +0900 (Fri, 10 Apr 2009) New Revision: 23166 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23166 Log: * configure.in (RUBY_INSTALL_NAME): use --program-transform-name. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 23165) +++ configure.in (revision 23166) @@ -111,6 +111,8 @@ 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 @@ 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 Index: ChangeLog =================================================================== --- ChangeLog (revision 23165) +++ ChangeLog (revision 23166) @@ -1,5 +1,7 @@ -Fri Apr 10 03:01:24 2009 Nobuyoshi Nakada <nobu@r...> +Fri Apr 10 03:46:44 2009 Nobuyoshi Nakada <nobu@r...> + * 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. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/