diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-26 22:42:46 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-26 22:42:46 +0000 |
commit | 86ed9661b8ac2a1a01f87b72da11a75ad6d7aab7 (patch) | |
tree | 7af082440b31bdc029cb1d0a51236bbb1698a3a1 | |
parent | dfb52b729b47b78bf326f82b393ae73dcef96f68 (diff) |
* configure.in (STRIP): use proper toolchain. based on a patch
from Jon Forums at [ruby-core:35909]. fixes #4617
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Wed Apr 27 07:42:44 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in (STRIP): use proper toolchain. based on a patch + from Jon Forums at [ruby-core:35909]. fixes #4617 + Wed Apr 27 01:20:59 2011 Tadayoshi Funaba <tadf@dotrb.org> * ext/date/date_core.c (date_zone_to_diff): renamed. diff --git a/configure.in b/configure.in index 551306b328..5692eb150e 100644 --- a/configure.in +++ b/configure.in @@ -2136,18 +2136,17 @@ test ".$DLEXT" = "." || AC_DEFINE_UNQUOTED(DLEXT, ".$DLEXT") test ".$DLEXT2" = "." || AC_DEFINE_UNQUOTED(DLEXT2, ".$DLEXT2") AC_SUBST(DLEXT) -AC_SUBST(STRIP)dnl if test "$with_dln_a_out" = yes; then STRIP=true else - STRIP=strip + AC_CHECK_TOOL(STRIP, strip, :)dnl fi AS_CASE(["$target_os"], [linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu], [ - STRIP='strip -S -x'], + STRIP="$STRIP -S -x"], [nextstep* | openstep* | rhapsody* | darwin*], [ - STRIP='strip -A -n']) + STRIP="$STRIP -A -n"]) AC_ARG_WITH(ext, AC_HELP_STRING([--with-ext=EXTS], |