common/autoconf/jdk-version.m4
changeset 33929 b6f2e71b26c5
parent 33928 d2c9fee88260
child 33948 9dedf718fe33
--- a/common/autoconf/jdk-version.m4	Fri Jun 26 10:02:21 2015 +0200
+++ b/common/autoconf/jdk-version.m4	Fri Jun 26 10:09:55 2015 +0200
@@ -309,6 +309,13 @@
   # "opt-base_debug-level" otherwise.
   VERSION_OPT=$VERSION_OPT_BASE${VERSION_OPT_DEBUGLEVEL:+_$VERSION_OPT_DEBUGLEVEL}
 
+  # Set VERSION_IS_GA based on if VERSION_PRE has a value
+  if test "x$VERSION_PRE" = x; then
+    VERSION_IS_GA=true
+  else
+    VERSION_IS_GA=false
+  fi
+
   # VERSION_NUMBER but always with exactly 4 positions, with 0 for empty positions.
   VERSION_NUMBER_FOUR_POSITIONS=$VERSION_MAJOR.$VERSION_MINOR.$VERSION_SECURITY.$VERSION_PATCH
 
@@ -342,4 +349,5 @@
   AC_SUBST(VERSION_NUMBER_FOUR_POSITIONS)
   AC_SUBST(VERSION_STRING)
   AC_SUBST(VERSION_SHORT)
+  AC_SUBST(VERSION_IS_GA)
 ])