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*)