10590 else |
10591 else |
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
10592 $as_echo "yes" >&6; } |
10593 $as_echo "yes" >&6; } |
10593 fi |
10594 fi |
10594 fi |
10595 fi |
|
10596 |
|
10597 |
|
10598 for ac_prog in dsymutil |
|
10599 do |
|
10600 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
10601 set dummy $ac_prog; ac_word=$2 |
|
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
10603 $as_echo_n "checking for $ac_word... " >&6; } |
|
10604 if ${ac_cv_path_DSYMUTIL+:} false; then : |
|
10605 $as_echo_n "(cached) " >&6 |
|
10606 else |
|
10607 case $DSYMUTIL in |
|
10608 [\\/]* | ?:[\\/]*) |
|
10609 ac_cv_path_DSYMUTIL="$DSYMUTIL" # Let the user override the test with a path. |
|
10610 ;; |
|
10611 *) |
|
10612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
10613 for as_dir in $PATH |
|
10614 do |
|
10615 IFS=$as_save_IFS |
|
10616 test -z "$as_dir" && as_dir=. |
|
10617 for ac_exec_ext in '' $ac_executable_extensions; do |
|
10618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
10619 ac_cv_path_DSYMUTIL="$as_dir/$ac_word$ac_exec_ext" |
|
10620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
10621 break 2 |
|
10622 fi |
|
10623 done |
|
10624 done |
|
10625 IFS=$as_save_IFS |
|
10626 |
|
10627 ;; |
|
10628 esac |
|
10629 fi |
|
10630 DSYMUTIL=$ac_cv_path_DSYMUTIL |
|
10631 if test -n "$DSYMUTIL"; then |
|
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
|
10633 $as_echo "$DSYMUTIL" >&6; } |
|
10634 else |
|
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
10636 $as_echo "no" >&6; } |
|
10637 fi |
|
10638 |
|
10639 |
|
10640 test -n "$DSYMUTIL" && break |
|
10641 done |
|
10642 |
|
10643 |
|
10644 if test "x$DSYMUTIL" = x; then |
|
10645 if test "xdsymutil" = x; then |
|
10646 PROG_NAME=dsymutil |
|
10647 else |
|
10648 PROG_NAME=dsymutil |
|
10649 fi |
|
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5 |
|
10651 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;} |
|
10652 as_fn_error $? "Cannot continue" "$LINENO" 5 |
|
10653 fi |
10595 fi |
10654 fi |
10596 |
10655 |
10597 |
10656 |
10598 # Check if pkg-config is available. |
10657 # Check if pkg-config is available. |
10599 |
10658 |
29537 if test "x$enable_debug_symbols" = "xyes"; then |
29596 if test "x$enable_debug_symbols" = "xyes"; then |
29538 ENABLE_DEBUG_SYMBOLS=true |
29597 ENABLE_DEBUG_SYMBOLS=true |
29539 elif test "x$enable_debug_symbols" = "xno"; then |
29598 elif test "x$enable_debug_symbols" = "xno"; then |
29540 ENABLE_DEBUG_SYMBOLS=false |
29599 ENABLE_DEBUG_SYMBOLS=false |
29541 else |
29600 else |
29542 # default on macosx is false |
29601 # Default is on if objcopy is found |
29543 if test "x$OPENJDK_TARGET_OS" = xmacosx; then |
29602 if test "x$OBJCOPY" != x; then |
29544 ENABLE_DEBUG_SYMBOLS=false |
29603 ENABLE_DEBUG_SYMBOLS=true |
29545 # Default is on if objcopy is found, otherwise off |
29604 # MacOS X and Windows don't use objcopy but default is on for those OSes |
29546 elif test "x$OBJCOPY" != x || test "x$OPENJDK_TARGET_OS" = xwindows; then |
29605 elif test "x$OPENJDK_TARGET_OS" = xmacosx || test "x$OPENJDK_TARGET_OS" = xwindows; then |
29547 ENABLE_DEBUG_SYMBOLS=true |
29606 ENABLE_DEBUG_SYMBOLS=true |
29548 else |
29607 else |
29549 ENABLE_DEBUG_SYMBOLS=false |
29608 ENABLE_DEBUG_SYMBOLS=false |
29550 fi |
29609 fi |
29551 fi |
29610 fi |