421 [Set update version value for build @<:@b00@:>@])]) |
421 [Set update version value for build @<:@b00@:>@])]) |
422 if test "x$with_update_version" = xyes; then |
422 if test "x$with_update_version" = xyes; then |
423 AC_MSG_ERROR([Update version must have a value]) |
423 AC_MSG_ERROR([Update version must have a value]) |
424 elif test "x$with_update_version" != x; then |
424 elif test "x$with_update_version" != x; then |
425 JDK_UPDATE_VERSION="$with_update_version" |
425 JDK_UPDATE_VERSION="$with_update_version" |
|
426 # On macosx 10.7, it's not possible to set --with-update-version=0X due |
|
427 # to a bug in expr (which reduces it to just X). To work around this, we |
|
428 # always add a 0 to one digit update versions. |
|
429 if test "${#JDK_UPDATE_VERSION}" = "1"; then |
|
430 JDK_UPDATE_VERSION="0${JDK_UPDATE_VERSION}" |
|
431 fi |
426 fi |
432 fi |
427 |
433 |
428 AC_ARG_WITH(user-release-suffix, [AS_HELP_STRING([--with-user-release-suffix], |
434 AC_ARG_WITH(user-release-suffix, [AS_HELP_STRING([--with-user-release-suffix], |
429 [Add a custom string to the version string if build number isn't set.@<:@username_builddateb00@:>@])]) |
435 [Add a custom string to the version string if build number isn't set.@<:@username_builddateb00@:>@])]) |
430 if test "x$with_user_release_suffix" = xyes; then |
436 if test "x$with_user_release_suffix" = xyes; then |