summaryrefslogtreecommitdiff
path: root/package/python2/patches/patch-configure
blob: e47d860fd48784afb88f54e20b7a984d129669bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Python-2.7.1.orig/configure	2010-11-01 02:47:19.000000000 +0100
+++ Python-2.7.1/configure	2011-10-14 17:36:48.000000000 +0200
@@ -2972,12 +2972,12 @@ fi
 $as_echo_n "checking MACHDEP... " >&6; }
 if test -z "$MACHDEP"
 then
-	ac_sys_system=`uname -s`
+	ac_sys_system=Linux
 	if test "$ac_sys_system" = "AIX" \
 	-o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
 		ac_sys_release=`uname -v`
 	else
-		ac_sys_release=`uname -r`
+		ac_sys_release=2.6
 	fi
 	ac_md_system=`echo $ac_sys_system |
 			   tr -d '/ ' | tr '[A-Z]' '[a-z]'`
@@ -3150,7 +3150,7 @@ EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking machine type as reported by uname -m" >&5
 $as_echo_n "checking machine type as reported by uname -m... " >&6; }
-ac_sys_machine=`uname -m`
+ac_sys_machine=x86_64
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sys_machine" >&5
 $as_echo "$ac_sys_machine" >&6; }