common/autoconf/jdk-options.m4

changeset 854
22c6f0b7e2b5
parent 813
9b102ab97693
child 855
ac09e62d5e6b
equal deleted inserted replaced
815:82a36c5c4eaf 854:22c6f0b7e2b5
516 if test "x$enable_debug_symbols" = "xyes"; then 516 if test "x$enable_debug_symbols" = "xyes"; then
517 ENABLE_DEBUG_SYMBOLS=true 517 ENABLE_DEBUG_SYMBOLS=true
518 elif test "x$enable_debug_symbols" = "xno"; then 518 elif test "x$enable_debug_symbols" = "xno"; then
519 ENABLE_DEBUG_SYMBOLS=false 519 ENABLE_DEBUG_SYMBOLS=false
520 else 520 else
521 # default on macosx is false 521 # Default is on if objcopy is found
522 if test "x$OPENJDK_TARGET_OS" = xmacosx; then 522 if test "x$OBJCOPY" != x; then
523 ENABLE_DEBUG_SYMBOLS=false 523 ENABLE_DEBUG_SYMBOLS=true
524 # Default is on if objcopy is found, otherwise off 524 # MacOS X and Windows don't use objcopy but default is on for those OSes
525 elif test "x$OBJCOPY" != x || test "x$OPENJDK_TARGET_OS" = xwindows; then 525 elif test "x$OPENJDK_TARGET_OS" = xmacosx || test "x$OPENJDK_TARGET_OS" = xwindows; then
526 ENABLE_DEBUG_SYMBOLS=true 526 ENABLE_DEBUG_SYMBOLS=true
527 else 527 else
528 ENABLE_DEBUG_SYMBOLS=false 528 ENABLE_DEBUG_SYMBOLS=false
529 fi 529 fi
530 fi 530 fi

mercurial