From 5c0b21b7b904163761b7dd26d005026e59bb26bd Mon Sep 17 00:00:00 2001 From: yugui Date: Wed, 17 Dec 2008 06:37:20 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ configure.in | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 49a79d5047..2eba2b8269 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 17 15:35:39 2008 Yuki Sonoda (Yugui) + + * configure.in (OBJDUMP, OBJCOPY): + *BSD's ports and MacPorts prefix GNU binutils with 'g'. + Wed Dec 17 11:39:39 2008 Kazuhiro NISHIYAMA * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash): 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*)