summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-17 06:37:20 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-17 06:37:20 +0000
commit5c0b21b7b904163761b7dd26d005026e59bb26bd (patch)
tree24eee014d52830e3776b1965ff44127c8eaf7e53 /configure.in
parent3d923f01bf3db6414dc5d38fed0524a35dafd81b (diff)
* configure.in (OBJDUMP, OBJCOPY):
*BSD's ports and MacPorts prefix GNU binutils with 'g'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 1cc1deb487..37a069455a 100644
--- a/configure.in
+++ b/configure.in
@@ -217,8 +217,9 @@ AC_CHECK_TOOL(AS, as)
ASFLAGS=$ASFLAGS
AC_SUBST(ASFLAGS)
-AC_CHECK_TOOL(OBJDUMP, objdump)
-AC_CHECK_TOOL(OBJCOPY, objcopy)
+# BSD's ports and MacPorts prefix GNU binutils with 'g'
+AC_CHECK_TOOLS(OBJDUMP, [objdump, gobjdump])
+AC_CHECK_TOOLS(OBJCOPY, [objcopy, gobjcopy])
case "$target_os" in
cygwin*|mingw*)