1.1 --- a/common/autoconf/jdk-options.m4 Thu Oct 10 10:08:45 2013 -0700 1.2 +++ b/common/autoconf/jdk-options.m4 Tue Oct 15 08:24:31 2013 -0700 1.3 @@ -518,11 +518,11 @@ 1.4 elif test "x$enable_debug_symbols" = "xno"; then 1.5 ENABLE_DEBUG_SYMBOLS=false 1.6 else 1.7 - # default on macosx is false 1.8 - if test "x$OPENJDK_TARGET_OS" = xmacosx; then 1.9 - ENABLE_DEBUG_SYMBOLS=false 1.10 - # Default is on if objcopy is found, otherwise off 1.11 - elif test "x$OBJCOPY" != x || test "x$OPENJDK_TARGET_OS" = xwindows; then 1.12 + # Default is on if objcopy is found 1.13 + if test "x$OBJCOPY" != x; then 1.14 + ENABLE_DEBUG_SYMBOLS=true 1.15 + # MacOS X and Windows don't use objcopy but default is on for those OSes 1.16 + elif test "x$OPENJDK_TARGET_OS" = xmacosx || test "x$OPENJDK_TARGET_OS" = xwindows; then 1.17 ENABLE_DEBUG_SYMBOLS=true 1.18 else 1.19 ENABLE_DEBUG_SYMBOLS=false