| 37 | {{{ |
| 38 | # The configure script assumes the %lld printf format is not available as it |
| 39 | # can't run its check script. For some reason python refuses to compile without |
| 40 | # this functionality, so we just assume that our printf supports %lld. |
| 41 | # |
| 42 | # Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG" |
| 43 | |
| 44 | Index: Python-2.7.1/configure.in |
| 45 | =================================================================== |
| 46 | --- Python-2.7.1.orig/configure.in |
| 47 | +++ Python-2.7.1/configure.in |
| 48 | @@ -4151,7 +4151,7 @@ then |
| 49 | ]]])], |
| 50 | [ac_cv_have_long_long_format=yes], |
| 51 | [ac_cv_have_long_long_format=no], |
| 52 | - [ac_cv_have_long_long_format=no]) |
| 53 | + [ac_cv_have_long_long_format=yes]) |
| 54 | ) |
| 55 | AC_MSG_RESULT($ac_cv_have_long_long_format) |
| 56 | fi |
| 57 | }}} |
| 58 | |
| 59 | but couldn't get it working so resorted to the hack outlines above :) |
| 60 | |
| 61 | |