summaryrefslogtreecommitdiff
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
commit958874ba0a54506e02bf2d86cac7e4d57b0d2db6 (patch)
tree47c6650c971612282705cd9ec173d9158096ab57 /configure.in
parentf10e2af1e68392fff2e22e1f577ad2fb828f2d75 (diff)
* configure.in (OBJCOPY): not used on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 eae660ce36..66b5e91c25 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])