changeset 1047:a14345c657e4

8038655: Resolve autoconf merge issue of 8u5 and 8u20 Reviewed-by: katleman
author asaha
date Fri, 28 Mar 2014 14:12:36 -0700
parents f0abd4607ac4
children 49d1cab5edd9
files common/autoconf/generated-configure.sh
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common/autoconf/generated-configure.sh	Fri Mar 28 13:23:06 2014 -0700
+++ b/common/autoconf/generated-configure.sh	Fri Mar 28 14:12:36 2014 -0700
@@ -3865,7 +3865,7 @@
 #CUSTOM_AUTOCONF_INCLUDE
 
 # Do not change or remove the following line, it is needed for consistency checks:
-DATE_WHEN_GENERATED=1394787296
+DATE_WHEN_GENERATED=1396039024
 
 ###############################################################################
 #
@@ -11156,6 +11156,12 @@
     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"
+    # On macosx 10.7, it's not possible to set --with-update-version=0X due
+    # to a bug in expr (which reduces it to just X). To work around this, we
+    # always add a 0 to one digit update versions.
+    if test "${#JDK_UPDATE_VERSION}" = "1"; then
+      JDK_UPDATE_VERSION="0${JDK_UPDATE_VERSION}"
+    fi
   fi