1
0

patch-configure_ac 884 B

12345678910111213141516171819202122
  1. --- Python-2.7.5.orig/configure.ac 2013-05-12 05:32:54.000000000 +0200
  2. +++ Python-2.7.5/configure.ac 2013-10-30 15:33:30.000000000 +0100
  3. @@ -19,7 +19,7 @@ AC_SUBST(host)
  4. if test "$cross_compiling" = yes; then
  5. AC_MSG_CHECKING([for python interpreter for cross build])
  6. if test -z "$PYTHON_FOR_BUILD"; then
  7. - for interp in python$PACKAGE_VERSION python2 python; do
  8. + for interp in python; do
  9. which $interp >/dev/null 2>&1 || continue
  10. if $interp -c 'import sys;sys.exit(not (sys.version_info@<:@:2@:>@ >= (2,7) and sys.version_info@<:@0@:>@ < 3))'; then
  11. break
  12. @@ -1066,9 +1066,7 @@ then
  13. if test "$Py_DEBUG" = 'true' ; then
  14. # Optimization messes up debuggers, so turn it off for
  15. # debug builds.
  16. - OPT="-g -O0 -Wall $STRICT_PROTO"
  17. - else
  18. - OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
  19. + OPT="$STRICT_PROTO"
  20. fi
  21. ;;
  22. *)