common/autoconf/jdk-options.m4

changeset 855
ac09e62d5e6b
parent 839
174a54ce39c4
parent 854
22c6f0b7e2b5
child 874
dfbc93f26f38
     1.1 --- a/common/autoconf/jdk-options.m4	Thu Oct 17 09:40:42 2013 -0700
     1.2 +++ b/common/autoconf/jdk-options.m4	Sat Oct 19 08:51:39 2013 -0700
     1.3 @@ -516,11 +516,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

mercurial