merges r21873 from trunk into ruby_1_9_1.

* configure.in (OBJCOPY): not used on Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2009-01-29 17:13:19 +00:00
parent 3f1e94ab7e
commit f75d4ca72c
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Thu Jan 29 14:08:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (OBJCOPY): not used on Windows.
Thu Jan 29 12:29:51 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> Thu Jan 29 12:29:51 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rake.rb (FileUtils#rake_system): no longer needs workaround * lib/rake.rb (FileUtils#rake_system): no longer needs workaround

View file

@ -217,6 +217,11 @@ AC_CHECK_TOOL(AS, as)
ASFLAGS=$ASFLAGS ASFLAGS=$ASFLAGS
AC_SUBST(ASFLAGS) AC_SUBST(ASFLAGS)
case "$target_os" in
cygwin*|mingw*)
ac_cv_prog_OBJCOPY=":";;
esac
# BSD's ports and MacPorts prefix GNU binutils with 'g' # BSD's ports and MacPorts prefix GNU binutils with 'g'
AC_CHECK_TOOLS(OBJDUMP, [objdump gobjdump]) AC_CHECK_TOOLS(OBJDUMP, [objdump gobjdump])
AC_CHECK_TOOLS(OBJCOPY, [objcopy gobjcopy]) AC_CHECK_TOOLS(OBJCOPY, [objcopy gobjcopy])