< prev index next >

common/autoconf/generated-configure.sh

Print this page




4711 
4712 
4713 
4714 
4715 
4716 
4717 
4718 
4719 
4720 
4721 
4722 
4723 
4724 
4725 # This line needs to be here, verbatim, after all includes and the dummy hook
4726 # definitions. It is replaced with custom functionality when building
4727 # custom sources.
4728 #CUSTOM_AUTOCONF_INCLUDE
4729 
4730 # Do not change or remove the following line, it is needed for consistency checks:
4731 DATE_WHEN_GENERATED=1450246539
4732 
4733 ###############################################################################
4734 #
4735 # Initialization / Boot-strapping
4736 #
4737 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4738 # thus it jumps back and forth, each time gaining something needed later on.
4739 #
4740 ###############################################################################
4741 
4742 # If we are requested to print additional help, do that and then exit.
4743 # This must be the very first call.
4744 
4745   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4746     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4747     $PRINTF "Which are valid to use depends on the build platform.\n"
4748     for toolchain in $VALID_TOOLCHAINS_all; do
4749       # Use indirect variable referencing
4750       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4751       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


47660 else
47661   with_native_debug_symbols="zipped"
47662 fi
47663 
47664   NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
47665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NATIVE_DEBUG_SYMBOLS" >&5
47666 $as_echo "$NATIVE_DEBUG_SYMBOLS" >&6; }
47667 
47668   if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
47669 
47670     if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
47671       if test "x$OBJCOPY" = x; then
47672         # enabling of enable-debug-symbols and can't find objcopy
47673         # this is an error
47674         as_fn_error $? "Unable to find objcopy, cannot enable native debug symbols" "$LINENO" 5
47675       fi
47676     fi
47677 
47678     ENABLE_DEBUG_SYMBOLS=true
47679     ZIP_DEBUGINFO_FILES=true
47680     DEBUG_BINARIES=true



47681     STRIP_POLICY=min_strip
47682   elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
47683     ENABLE_DEBUG_SYMBOLS=false
47684     ZIP_DEBUGINFO_FILES=false
47685     DEBUG_BINARIES=false
47686     STRIP_POLICY=no_strip
47687   elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then
47688     ENABLE_DEBUG_SYMBOLS=false  # -g option only
47689     ZIP_DEBUGINFO_FILES=false


47690     DEBUG_BINARIES=true
47691     STRIP_POLICY=no_strip
47692     STRIP=""
47693   elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then
47694 
47695     if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
47696       if test "x$OBJCOPY" = x; then
47697         # enabling of enable-debug-symbols and can't find objcopy
47698         # this is an error
47699         as_fn_error $? "Unable to find objcopy, cannot enable native debug symbols" "$LINENO" 5
47700       fi
47701     fi
47702 
47703     ENABLE_DEBUG_SYMBOLS=true
47704     ZIP_DEBUGINFO_FILES=false
47705     DEBUG_BINARIES=true



47706     STRIP_POLICY=min_strip
47707   else
47708     as_fn_error $? "Allowed native debug symbols are: none, internal, external, zipped" "$LINENO" 5
47709   fi
47710 
47711   # --enable-debug-symbols is deprecated.
47712   # Please use --with-native-debug-symbols=[internal,external,zipped] .
47713 
47714   # Check whether --enable-debug-symbols was given.
47715 if test "${enable_debug_symbols+set}" = set; then :
47716   enableval=$enable_debug_symbols;
47717 fi
47718 
47719   if test "x$enable_debug_symbols" != x; then
47720     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --enable-debug-symbols is deprecated and will be ignored." >&5
47721 $as_echo "$as_me: WARNING: Option --enable-debug-symbols is deprecated and will be ignored." >&2;}
47722 
47723     if test "xPlease use --with-native-debug-symbols=[internal,external,zipped] ." != x; then
47724       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please use --with-native-debug-symbols=[internal,external,zipped] ." >&5
47725 $as_echo "$as_me: WARNING: Please use --with-native-debug-symbols=[internal,external,zipped] ." >&2;}




4711 
4712 
4713 
4714 
4715 
4716 
4717 
4718 
4719 
4720 
4721 
4722 
4723 
4724 
4725 # This line needs to be here, verbatim, after all includes and the dummy hook
4726 # definitions. It is replaced with custom functionality when building
4727 # custom sources.
4728 #CUSTOM_AUTOCONF_INCLUDE
4729 
4730 # Do not change or remove the following line, it is needed for consistency checks:
4731 DATE_WHEN_GENERATED=1450300392
4732 
4733 ###############################################################################
4734 #
4735 # Initialization / Boot-strapping
4736 #
4737 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4738 # thus it jumps back and forth, each time gaining something needed later on.
4739 #
4740 ###############################################################################
4741 
4742 # If we are requested to print additional help, do that and then exit.
4743 # This must be the very first call.
4744 
4745   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4746     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4747     $PRINTF "Which are valid to use depends on the build platform.\n"
4748     for toolchain in $VALID_TOOLCHAINS_all; do
4749       # Use indirect variable referencing
4750       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4751       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


47660 else
47661   with_native_debug_symbols="zipped"
47662 fi
47663 
47664   NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
47665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NATIVE_DEBUG_SYMBOLS" >&5
47666 $as_echo "$NATIVE_DEBUG_SYMBOLS" >&6; }
47667 
47668   if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
47669 
47670     if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
47671       if test "x$OBJCOPY" = x; then
47672         # enabling of enable-debug-symbols and can't find objcopy
47673         # this is an error
47674         as_fn_error $? "Unable to find objcopy, cannot enable native debug symbols" "$LINENO" 5
47675       fi
47676     fi
47677 
47678     ENABLE_DEBUG_SYMBOLS=true
47679     ZIP_DEBUGINFO_FILES=true
47680     # -g is already added by ENABLE_DEBUG_SYMBOLS and the hotspot makefiles
47681     # will basically do slowdebug builds when DEBUG_BINARIES is set for
47682     # fastdebug builds
47683     DEBUG_BINARIES=false
47684     STRIP_POLICY=min_strip
47685   elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
47686     ENABLE_DEBUG_SYMBOLS=false
47687     ZIP_DEBUGINFO_FILES=false
47688     DEBUG_BINARIES=false
47689     STRIP_POLICY=no_strip
47690   elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then
47691     ENABLE_DEBUG_SYMBOLS=false  # -g option only
47692     ZIP_DEBUGINFO_FILES=false
47693     # Fastdebug builds with this setting will essentially be slowdebug
47694     # in hotspot.
47695     DEBUG_BINARIES=true
47696     STRIP_POLICY=no_strip
47697     STRIP=""
47698   elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then
47699 
47700     if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
47701       if test "x$OBJCOPY" = x; then
47702         # enabling of enable-debug-symbols and can't find objcopy
47703         # this is an error
47704         as_fn_error $? "Unable to find objcopy, cannot enable native debug symbols" "$LINENO" 5
47705       fi
47706     fi
47707 
47708     ENABLE_DEBUG_SYMBOLS=true
47709     ZIP_DEBUGINFO_FILES=false
47710     # -g is already added by ENABLE_DEBUG_SYMBOLS and the hotspot makefiles
47711     # will basically do slowdebug builds when DEBUG_BINARIES is set for
47712     # fastdebug builds
47713     DEBUG_BINARIES=false
47714     STRIP_POLICY=min_strip
47715   else
47716     as_fn_error $? "Allowed native debug symbols are: none, internal, external, zipped" "$LINENO" 5
47717   fi
47718 
47719   # --enable-debug-symbols is deprecated.
47720   # Please use --with-native-debug-symbols=[internal,external,zipped] .
47721 
47722   # Check whether --enable-debug-symbols was given.
47723 if test "${enable_debug_symbols+set}" = set; then :
47724   enableval=$enable_debug_symbols;
47725 fi
47726 
47727   if test "x$enable_debug_symbols" != x; then
47728     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --enable-debug-symbols is deprecated and will be ignored." >&5
47729 $as_echo "$as_me: WARNING: Option --enable-debug-symbols is deprecated and will be ignored." >&2;}
47730 
47731     if test "xPlease use --with-native-debug-symbols=[internal,external,zipped] ." != x; then
47732       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please use --with-native-debug-symbols=[internal,external,zipped] ." >&5
47733 $as_echo "$as_me: WARNING: Please use --with-native-debug-symbols=[internal,external,zipped] ." >&2;}


< prev index next >