mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8015784: Add configure parameter --with-update-version
Reviewed-by: tbell, katleman, erikj
This commit is contained in:
parent
14c2e56643
commit
0a8d4b90f5
2 changed files with 23 additions and 1 deletions
|
@ -988,6 +988,7 @@ enable_hotspot_test_in_build
|
||||||
with_cacerts_file
|
with_cacerts_file
|
||||||
enable_unlimited_crypto
|
enable_unlimited_crypto
|
||||||
with_milestone
|
with_milestone
|
||||||
|
with_update_version
|
||||||
with_build_number
|
with_build_number
|
||||||
with_user_release_suffix
|
with_user_release_suffix
|
||||||
with_boot_jdk
|
with_boot_jdk
|
||||||
|
@ -1727,6 +1728,7 @@ Optional Packages:
|
||||||
group
|
group
|
||||||
--with-cacerts-file specify alternative cacerts file
|
--with-cacerts-file specify alternative cacerts file
|
||||||
--with-milestone Set milestone value for build [internal]
|
--with-milestone Set milestone value for build [internal]
|
||||||
|
--with-update-version Set update version value for build [b00]
|
||||||
--with-build-number Set build number value for build [b00]
|
--with-build-number Set build number value for build [b00]
|
||||||
--with-user-release-suffix
|
--with-user-release-suffix
|
||||||
Add a custom string to the version string if build
|
Add a custom string to the version string if build
|
||||||
|
@ -3780,7 +3782,7 @@ fi
|
||||||
#CUSTOM_AUTOCONF_INCLUDE
|
#CUSTOM_AUTOCONF_INCLUDE
|
||||||
|
|
||||||
# Do not change or remove the following line, it is needed for consistency checks:
|
# Do not change or remove the following line, it is needed for consistency checks:
|
||||||
DATE_WHEN_GENERATED=1370001995
|
DATE_WHEN_GENERATED=1370333982
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
|
@ -10841,6 +10843,18 @@ if test "x$MILESTONE" = x; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --with-update-version was given.
|
||||||
|
if test "${with_update_version+set}" = set; then :
|
||||||
|
withval=$with_update_version;
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$with_update_version" = xyes; then
|
||||||
|
as_fn_error $? "Update version must have a value" "$LINENO" 5
|
||||||
|
elif test "x$with_update_version" != x; then
|
||||||
|
JDK_UPDATE_VERSION="$with_update_version"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Check whether --with-build-number was given.
|
# Check whether --with-build-number was given.
|
||||||
if test "${with_build_number+set}" = set; then :
|
if test "${with_build_number+set}" = set; then :
|
||||||
withval=$with_build_number;
|
withval=$with_build_number;
|
||||||
|
|
|
@ -422,6 +422,14 @@ if test "x$MILESTONE" = x; then
|
||||||
MILESTONE=internal
|
MILESTONE=internal
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_ARG_WITH(update-version, [AS_HELP_STRING([--with-update-version],
|
||||||
|
[Set update version value for build @<:@b00@:>@])])
|
||||||
|
if test "x$with_update_version" = xyes; then
|
||||||
|
AC_MSG_ERROR([Update version must have a value])
|
||||||
|
elif test "x$with_update_version" != x; then
|
||||||
|
JDK_UPDATE_VERSION="$with_update_version"
|
||||||
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH(build-number, [AS_HELP_STRING([--with-build-number],
|
AC_ARG_WITH(build-number, [AS_HELP_STRING([--with-build-number],
|
||||||
[Set build number value for build @<:@b00@:>@])])
|
[Set build number value for build @<:@b00@:>@])])
|
||||||
if test "x$with_build_number" = xyes; then
|
if test "x$with_build_number" = xyes; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue