summaryrefslogtreecommitdiff
path: root/python/python-2.7.14-sysbase.patch
blob: 08fff43a6a5abe32ba7e864105f7b1c69d213f56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ruN misc/Python-2.7.14/configure misc/build/Python-2.7.14/configure
--- misc/Python-2.7.14/configure	2014-06-29 21:05:48.000000000 -0500
+++ misc/build/Python-2.7.14/configure	2016-01-01 15:18:37.398344671 -0500
@@ -3281,7 +3281,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