diff -ruN misc/Python-2.7.18/configure misc/build/Python-2.7.18/configure
--- misc/Python-2.7.18/configure	2014-06-29 21:05:48.000000000 -0500
+++ misc/build/Python-2.7.18/configure	2016-01-01 15:18:37.398344671 -0500
@@ -3295,7 +3295,9 @@
 	ac_sys_release=
     else
 	ac_sys_system=`uname -s`
-	if test "$ac_sys_system" = "AIX" \
+	if test -n "$OOO_SYSBASE_SYS_RELEASE"; then
+		ac_sys_release=$OOO_SYSBASE_SYS_RELEASE
+	elif test "$ac_sys_system" = "AIX" \
 	-o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
 		ac_sys_release=`uname -v`
 	else
