967 enable_openjdk_only |
966 enable_openjdk_only |
968 enable_headful |
967 enable_headful |
969 enable_hotspot_test_in_build |
968 enable_hotspot_test_in_build |
970 with_cacerts_file |
969 with_cacerts_file |
971 enable_unlimited_crypto |
970 enable_unlimited_crypto |
|
971 with_milestone |
|
972 with_build_number |
972 with_boot_jdk |
973 with_boot_jdk |
973 with_boot_jdk_jvmargs |
974 with_boot_jdk_jvmargs |
974 with_add_source_root |
975 with_add_source_root |
975 with_override_source_root |
976 with_override_source_root |
976 with_adds_and_overrides |
977 with_adds_and_overrides |
1696 --with-builddeps-dir store downloaded build dependencies here |
1697 --with-builddeps-dir store downloaded build dependencies here |
1697 [/localhome/builddeps] |
1698 [/localhome/builddeps] |
1698 --with-builddeps-group chgrp the downloaded build dependencies to this |
1699 --with-builddeps-group chgrp the downloaded build dependencies to this |
1699 group |
1700 group |
1700 --with-cacerts-file specify alternative cacerts file |
1701 --with-cacerts-file specify alternative cacerts file |
|
1702 --with-milestone Set milestone value for build [internal] |
|
1703 --with-build-number Set build number value for build [b00] |
1701 --with-boot-jdk path to Boot JDK (used to bootstrap build) [probed] |
1704 --with-boot-jdk path to Boot JDK (used to bootstrap build) [probed] |
1702 --with-boot-jdk-jvmargs specify JVM arguments to be passed to all |
1705 --with-boot-jdk-jvmargs specify JVM arguments to be passed to all |
1703 invocations of the Boot JDK, overriding the default |
1706 invocations of the Boot JDK, overriding the default |
1704 values, e.g --with-boot-jdk-jvmargs="-Xmx8G |
1707 values, e.g --with-boot-jdk-jvmargs="-Xmx8G |
1705 -enableassertions" |
1708 -enableassertions" |
3677 # definitions. It is replaced with custom functionality when building |
3680 # definitions. It is replaced with custom functionality when building |
3678 # custom sources. |
3681 # custom sources. |
3679 #CUSTOM_AUTOCONF_INCLUDE |
3682 #CUSTOM_AUTOCONF_INCLUDE |
3680 |
3683 |
3681 # Do not change or remove the following line, it is needed for consistency checks: |
3684 # Do not change or remove the following line, it is needed for consistency checks: |
3682 DATE_WHEN_GENERATED=1356865941 |
3685 DATE_WHEN_GENERATED=1357045896 |
3683 |
3686 |
3684 ############################################################################### |
3687 ############################################################################### |
3685 # |
3688 # |
3686 # Initialization / Boot-strapping |
3689 # Initialization / Boot-strapping |
3687 # |
3690 # |
10606 # Source the version numbers |
10609 # Source the version numbers |
10607 . $AUTOCONF_DIR/version.numbers |
10610 . $AUTOCONF_DIR/version.numbers |
10608 if test "x$OPENJDK" = "xfalse"; then |
10611 if test "x$OPENJDK" = "xfalse"; then |
10609 . $AUTOCONF_DIR/closed.version.numbers |
10612 . $AUTOCONF_DIR/closed.version.numbers |
10610 fi |
10613 fi |
|
10614 |
|
10615 |
|
10616 # Check whether --with-milestone was given. |
|
10617 if test "${with_milestone+set}" = set; then : |
|
10618 withval=$with_milestone; |
|
10619 fi |
|
10620 |
|
10621 if test "x$with_milestone" = xyes; then |
|
10622 as_fn_error $? "Milestone must have a value" "$LINENO" 5 |
|
10623 elif test "x$with_milestone" != x; then |
|
10624 MILESTONE="$with_milestone" |
|
10625 else |
|
10626 MILESTONE=internal |
|
10627 fi |
|
10628 |
|
10629 |
|
10630 # Check whether --with-build-number was given. |
|
10631 if test "${with_build_number+set}" = set; then : |
|
10632 withval=$with_build_number; |
|
10633 fi |
|
10634 |
|
10635 if test "x$with_build_number" = xyes; then |
|
10636 as_fn_error $? "Build number must have a value" "$LINENO" 5 |
|
10637 elif test "x$with_build_number" != x; then |
|
10638 JDK_BUILD_NUMBER="$with_build_number" |
|
10639 fi |
|
10640 |
10611 # Now set the JDK version, milestone, build number etc. |
10641 # Now set the JDK version, milestone, build number etc. |
10612 |
10642 |
10613 |
10643 |
10614 |
10644 |
10615 |
10645 |
10634 else |
10664 else |
10635 JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}" |
10665 JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}" |
10636 fi |
10666 fi |
10637 |
10667 |
10638 |
10668 |
10639 if test "x$MILESTONE" != x; then |
10669 BUILD_DATE=`date '+%Y_%m_%d_%H_%M'` |
10640 RELEASE="${JDK_VERSION}-${MILESTONE}${BUILD_VARIANT_RELEASE}" |
10670 # Avoid [:alnum:] since it depends on the locale. |
10641 else |
10671 CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyz0123456789'` |
10642 RELEASE="${JDK_VERSION}${BUILD_VARIANT_RELEASE}" |
10672 USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
10643 fi |
10673 |
10644 |
|
10645 |
|
10646 if test "x$JDK_BUILD_NUMBER" != x; then |
|
10647 FULL_VERSION="${RELEASE}-${JDK_BUILD_NUMBER}" |
|
10648 else |
|
10649 JDK_BUILD_NUMBER=b00 |
|
10650 BUILD_DATE=`date '+%Y_%m_%d_%H_%M'` |
|
10651 # Avoid [:alnum:] since it depends on the locale. |
|
10652 CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyz0123456789'` |
|
10653 USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
|
10654 FULL_VERSION="${RELEASE}-${USER_RELEASE_SUFFIX}-${JDK_BUILD_NUMBER}" |
|
10655 fi |
|
10656 |
10674 |
10657 COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'` |
10675 COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'` |
10658 |
10676 |
10659 |
10677 |
10660 |
10678 |