summaryrefslogtreecommitdiff
path: root/package/python2/patches/patch-configure
blob: b2c0f2ccda9d9169a46ccc9e7c3520cb5f88b4b1 (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.orig/configure	2010-05-28 17:28:47.000000000 +0200
+++ Python-2.7/configure	2010-11-04 22:17:32.000000000 +0100
@@ -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=i586
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sys_machine" >&5
 $as_echo "$ac_sys_machine" >&6; }