patch-configure 969 B

123456789101112131415161718192021222324252627
  1. diff -Nur Python-3.2.2.orig/configure Python-3.2.2/configure
  2. --- Python-3.2.2.orig/configure 2011-09-03 18:16:50.000000000 +0200
  3. +++ Python-3.2.2/configure 2011-09-05 11:35:01.000000000 +0200
  4. @@ -2983,12 +2983,12 @@
  5. $as_echo_n "checking MACHDEP... " >&6; }
  6. if test -z "$MACHDEP"
  7. then
  8. - ac_sys_system=`uname -s`
  9. + ac_sys_system=Linux
  10. if test "$ac_sys_system" = "AIX" \
  11. -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
  12. ac_sys_release=`uname -v`
  13. else
  14. - ac_sys_release=`uname -r`
  15. + ac_sys_release=2.6
  16. fi
  17. ac_md_system=`echo $ac_sys_system |
  18. tr -d '/ ' | tr '[A-Z]' '[a-z]'`
  19. @@ -3140,7 +3140,7 @@
  20. { $as_echo "$as_me:${as_lineno-$LINENO}: checking machine type as reported by uname -m" >&5
  21. $as_echo_n "checking machine type as reported by uname -m... " >&6; }
  22. -ac_sys_machine=`uname -m`
  23. +ac_sys_machine=@@CPU_ARCH@@
  24. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sys_machine" >&5
  25. $as_echo "$ac_sys_machine" >&6; }