common/autoconf/generated-configure.sh

changeset 813
9b102ab97693
parent 811
feb4f2d97042
child 837
7deff16cf438
child 838
ec48d637778a
child 854
22c6f0b7e2b5
equal deleted inserted replaced
812:d23177734b28 813:9b102ab97693
1014 enable_hotspot_test_in_build 1014 enable_hotspot_test_in_build
1015 with_cacerts_file 1015 with_cacerts_file
1016 enable_unlimited_crypto 1016 enable_unlimited_crypto
1017 with_milestone 1017 with_milestone
1018 with_update_version 1018 with_update_version
1019 with_user_release_suffix
1019 with_build_number 1020 with_build_number
1020 with_user_release_suffix
1021 with_boot_jdk 1021 with_boot_jdk
1022 with_boot_jdk_jvmargs 1022 with_boot_jdk_jvmargs
1023 with_add_source_root 1023 with_add_source_root
1024 with_override_source_root 1024 with_override_source_root
1025 with_adds_and_overrides 1025 with_adds_and_overrides
1753 --with-builddeps-group chgrp the downloaded build dependencies to this 1753 --with-builddeps-group chgrp the downloaded build dependencies to this
1754 group 1754 group
1755 --with-cacerts-file specify alternative cacerts file 1755 --with-cacerts-file specify alternative cacerts file
1756 --with-milestone Set milestone value for build [internal] 1756 --with-milestone Set milestone value for build [internal]
1757 --with-update-version Set update version value for build [b00] 1757 --with-update-version Set update version value for build [b00]
1758 --with-build-number Set build number value for build [b00]
1759 --with-user-release-suffix 1758 --with-user-release-suffix
1760 Add a custom string to the version string if build 1759 Add a custom string to the version string if build
1761 number isn't set.[username_builddateb00] 1760 number isn't set.[username_builddateb00]
1761 --with-build-number Set build number value for build [b00]
1762 --with-boot-jdk path to Boot JDK (used to bootstrap build) [probed] 1762 --with-boot-jdk path to Boot JDK (used to bootstrap build) [probed]
1763 --with-boot-jdk-jvmargs specify JVM arguments to be passed to all 1763 --with-boot-jdk-jvmargs specify JVM arguments to be passed to all
1764 invocations of the Boot JDK, overriding the default 1764 invocations of the Boot JDK, overriding the default
1765 values, e.g --with-boot-jdk-jvmargs="-Xmx8G 1765 values, e.g --with-boot-jdk-jvmargs="-Xmx8G
1766 -enableassertions" 1766 -enableassertions"
3816 # definitions. It is replaced with custom functionality when building 3816 # definitions. It is replaced with custom functionality when building
3817 # custom sources. 3817 # custom sources.
3818 #CUSTOM_AUTOCONF_INCLUDE 3818 #CUSTOM_AUTOCONF_INCLUDE
3819 3819
3820 # Do not change or remove the following line, it is needed for consistency checks: 3820 # Do not change or remove the following line, it is needed for consistency checks:
3821 DATE_WHEN_GENERATED=1380792206 3821 DATE_WHEN_GENERATED=1381162713
3822 3822
3823 ############################################################################### 3823 ###############################################################################
3824 # 3824 #
3825 # Initialization / Boot-strapping 3825 # Initialization / Boot-strapping
3826 # 3826 #
11046 elif test "x$with_update_version" != x; then 11046 elif test "x$with_update_version" != x; then
11047 JDK_UPDATE_VERSION="$with_update_version" 11047 JDK_UPDATE_VERSION="$with_update_version"
11048 fi 11048 fi
11049 11049
11050 11050
11051 # Check whether --with-user-release-suffix was given.
11052 if test "${with_user_release_suffix+set}" = set; then :
11053 withval=$with_user_release_suffix;
11054 fi
11055
11056 if test "x$with_user_release_suffix" = xyes; then
11057 as_fn_error $? "Release suffix must have a value" "$LINENO" 5
11058 elif test "x$with_user_release_suffix" != x; then
11059 USER_RELEASE_SUFFIX="$with_user_release_suffix"
11060 fi
11061
11062
11051 # Check whether --with-build-number was given. 11063 # Check whether --with-build-number was given.
11052 if test "${with_build_number+set}" = set; then : 11064 if test "${with_build_number+set}" = set; then :
11053 withval=$with_build_number; 11065 withval=$with_build_number;
11054 fi 11066 fi
11055 11067
11056 if test "x$with_build_number" = xyes; then 11068 if test "x$with_build_number" = xyes; then
11057 as_fn_error $? "Build number must have a value" "$LINENO" 5 11069 as_fn_error $? "Build number must have a value" "$LINENO" 5
11058 elif test "x$with_build_number" != x; then 11070 elif test "x$with_build_number" != x; then
11059 JDK_BUILD_NUMBER="$with_build_number" 11071 JDK_BUILD_NUMBER="$with_build_number"
11060 fi 11072 fi
11073 # Define default USER_RELEASE_SUFFIX if BUILD_NUMBER and USER_RELEASE_SUFFIX are not set
11061 if test "x$JDK_BUILD_NUMBER" = x; then 11074 if test "x$JDK_BUILD_NUMBER" = x; then
11062 JDK_BUILD_NUMBER=b00 11075 JDK_BUILD_NUMBER=b00
11063 fi 11076 if test "x$USER_RELEASE_SUFFIX" = x; then
11064 11077 BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
11065 11078 # Avoid [:alnum:] since it depends on the locale.
11066 # Check whether --with-user-release-suffix was given. 11079 CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
11067 if test "${with_user_release_suffix+set}" = set; then : 11080 USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
11068 withval=$with_user_release_suffix; 11081 fi
11069 fi 11082 fi
11070
11071 if test "x$with_user_release_suffix" = xyes; then
11072 as_fn_error $? "Release suffix must have a value" "$LINENO" 5
11073 elif test "x$with_user_release_suffix" != x; then
11074 USER_RELEASE_SUFFIX="$with_user_release_suffix"
11075 else
11076 BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
11077 # Avoid [:alnum:] since it depends on the locale.
11078 CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
11079 USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
11080 fi
11081
11082 11083
11083 # Now set the JDK version, milestone, build number etc. 11084 # Now set the JDK version, milestone, build number etc.
11085
11084 11086
11085 11087
11086 11088
11087 11089
11088 11090

mercurial