< prev index next >

common/autoconf/generated-configure.sh

Print this page




5078 
5079 
5080 
5081 
5082 
5083 
5084 
5085 
5086 
5087 
5088 
5089 
5090 
5091 
5092 # This line needs to be here, verbatim, after all includes and the dummy hook
5093 # definitions. It is replaced with custom functionality when building
5094 # custom sources.
5095 #CUSTOM_AUTOCONF_INCLUDE
5096 
5097 # Do not change or remove the following line, it is needed for consistency checks:
5098 DATE_WHEN_GENERATED=1470415803
5099 
5100 ###############################################################################
5101 #
5102 # Initialization / Boot-strapping
5103 #
5104 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5105 # thus it jumps back and forth, each time gaining something needed later on.
5106 #
5107 ###############################################################################
5108 
5109 # If we are requested to print additional help, do that and then exit.
5110 # This must be the very first call.
5111 
5112   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5113 
5114     # Print available toolchains
5115     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5116     $PRINTF "Which are valid to use depends on the build platform.\n"
5117     for toolchain in $VALID_TOOLCHAINS_all; do
5118       # Use indirect variable referencing


30579 $as_echo "not found" >&6; }
30580             as_fn_error $? "User supplied tool JARSIGNER=$tool_specified does not exist or is not executable" "$LINENO" 5
30581           fi
30582           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
30583 $as_echo "$tool_specified" >&6; }
30584         fi
30585       fi
30586     fi
30587 
30588   fi
30589 
30590 
30591 
30592   # Finally, set some other options...
30593 
30594   # When compiling code to be executed by the Boot JDK, force jdk8 compatibility.
30595   BOOT_JDK_SOURCETARGET="-source 8 -target 8"
30596 
30597 
30598 
30599   $ECHO "Check if jvm arg is ok: -Xpatch:foo=bar" >&5
30600   $ECHO "Command: $JAVA -Xpatch:foo=bar -version" >&5
30601   OUTPUT=`$JAVA -Xpatch:foo=bar -version 2>&1`
30602   FOUND_WARN=`$ECHO "$OUTPUT" | $GREP -i warn`
30603   FOUND_VERSION=`$ECHO $OUTPUT | $GREP " version \""`
30604   if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then
30605     dummy="$dummy -Xpatch:foo=bar"
30606     JVM_ARG_OK=true
30607   else
30608     $ECHO "Arg failed:" >&5
30609     $ECHO "$OUTPUT" >&5
30610     JVM_ARG_OK=false
30611   fi
30612 
30613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Boot JDK supports modules" >&5
30614 $as_echo_n "checking if Boot JDK supports modules... " >&6; }
30615   if test "x$JVM_ARG_OK" = "xtrue"; then
30616     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30617 $as_echo "yes" >&6; }
30618     BOOT_JDK_MODULAR="true"
30619   else
30620     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30621 $as_echo "no" >&6; }
30622     BOOT_JDK_MODULAR="false"
30623   fi
30624 
30625 




5078 
5079 
5080 
5081 
5082 
5083 
5084 
5085 
5086 
5087 
5088 
5089 
5090 
5091 
5092 # This line needs to be here, verbatim, after all includes and the dummy hook
5093 # definitions. It is replaced with custom functionality when building
5094 # custom sources.
5095 #CUSTOM_AUTOCONF_INCLUDE
5096 
5097 # Do not change or remove the following line, it is needed for consistency checks:
5098 DATE_WHEN_GENERATED=1470695558
5099 
5100 ###############################################################################
5101 #
5102 # Initialization / Boot-strapping
5103 #
5104 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5105 # thus it jumps back and forth, each time gaining something needed later on.
5106 #
5107 ###############################################################################
5108 
5109 # If we are requested to print additional help, do that and then exit.
5110 # This must be the very first call.
5111 
5112   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5113 
5114     # Print available toolchains
5115     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5116     $PRINTF "Which are valid to use depends on the build platform.\n"
5117     for toolchain in $VALID_TOOLCHAINS_all; do
5118       # Use indirect variable referencing


30579 $as_echo "not found" >&6; }
30580             as_fn_error $? "User supplied tool JARSIGNER=$tool_specified does not exist or is not executable" "$LINENO" 5
30581           fi
30582           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
30583 $as_echo "$tool_specified" >&6; }
30584         fi
30585       fi
30586     fi
30587 
30588   fi
30589 
30590 
30591 
30592   # Finally, set some other options...
30593 
30594   # When compiling code to be executed by the Boot JDK, force jdk8 compatibility.
30595   BOOT_JDK_SOURCETARGET="-source 8 -target 8"
30596 
30597 
30598 
30599   $ECHO "Check if jvm arg is ok: --patch-module foo=bar" >&5
30600   $ECHO "Command: $JAVA --patch-module foo=bar -version" >&5
30601   OUTPUT=`$JAVA --patch-module foo=bar -version 2>&1`
30602   FOUND_WARN=`$ECHO "$OUTPUT" | $GREP -i warn`
30603   FOUND_VERSION=`$ECHO $OUTPUT | $GREP " version \""`
30604   if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then
30605     dummy="$dummy --patch-module foo=bar"
30606     JVM_ARG_OK=true
30607   else
30608     $ECHO "Arg failed:" >&5
30609     $ECHO "$OUTPUT" >&5
30610     JVM_ARG_OK=false
30611   fi
30612 
30613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Boot JDK supports modules" >&5
30614 $as_echo_n "checking if Boot JDK supports modules... " >&6; }
30615   if test "x$JVM_ARG_OK" = "xtrue"; then
30616     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30617 $as_echo "yes" >&6; }
30618     BOOT_JDK_MODULAR="true"
30619   else
30620     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30621 $as_echo "no" >&6; }
30622     BOOT_JDK_MODULAR="false"
30623   fi
30624 
30625 


< prev index next >