summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-29 05:09:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-29 05:09:01 +0000
commita6107f8af3bbd871025b0234f698b4a23fdfd43b (patch)
tree47c6650c971612282705cd9ec173d9158096ab57 /configure.in
parent2ff37a1a29c2f3c5950f56c905ca4b545726e1a2 (diff)
downloadruby-a6107f8af3bbd871025b0234f698b4a23fdfd43b.tar.gz
ruby-a6107f8af3bbd871025b0234f698b4a23fdfd43b.tar.xz
ruby-a6107f8af3bbd871025b0234f698b4a23fdfd43b.zip
* configure.in (OBJCOPY): not used on Windows.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index eae660ce3..66b5e91c2 100644
--- a/configure.in
+++ b/configure.in
@@ -217,6 +217,11 @@ AC_CHECK_TOOL(AS, as)
ASFLAGS=$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'
AC_CHECK_TOOLS(OBJDUMP, [objdump gobjdump])
AC_CHECK_TOOLS(OBJCOPY, [objcopy gobjcopy])