common/autoconf/toolchain.m4
changeset 14464 b82a851468d0
parent 14112 1b447f5cb0d1
child 14465 d529faf5e36a
equal deleted inserted replaced
14463:c8c59639a854 14464:b82a851468d0
   435 
   435 
   436 # objcopy is used for moving debug symbols to separate files when
   436 # objcopy is used for moving debug symbols to separate files when
   437 # full debug symbols are enabled.
   437 # full debug symbols are enabled.
   438 if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
   438 if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
   439     AC_CHECK_TOOLS(OBJCOPY, [gobjcopy objcopy])
   439     AC_CHECK_TOOLS(OBJCOPY, [gobjcopy objcopy])
   440     BASIC_FIXUP_EXECUTABLE(OBJCOPY)
   440     # Only call fixup if objcopy was found.
       
   441     if test -n "$OBJCOPY"; then
       
   442         BASIC_FIXUP_EXECUTABLE(OBJCOPY)
       
   443     fi
   441 fi
   444 fi
   442 
   445 
   443 AC_CHECK_TOOLS(OBJDUMP, [gobjdump objdump])
   446 AC_CHECK_TOOLS(OBJDUMP, [gobjdump objdump])
   444 if test "x$OBJDUMP" != x; then
   447 if test "x$OBJDUMP" != x; then
   445   # Only used for compare.sh; we can live without it. BASIC_FIXUP_EXECUTABLE bails if argument is missing.
   448   # Only used for compare.sh; we can live without it. BASIC_FIXUP_EXECUTABLE bails if argument is missing.