1 diff -Naur Python-2.5.4/configure Python-2.5.4-cross/configure
2 --- Python-2.5.4/configure 2008-12-13 15:13:52.000000000 +0100
3 +++ Python-2.5.4-cross/configure 2009-01-01 15:16:01.000000000 +0100
4 @@ -22326,39 +22326,6 @@
6 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8 -{ echo "$as_me:$LINENO: checking for /dev/ptmx" >&5
9 -echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6; }
13 - { echo "$as_me:$LINENO: result: yes" >&5
14 -echo "${ECHO_T}yes" >&6; }
16 -cat >>confdefs.h <<\_ACEOF
17 -#define HAVE_DEV_PTMX 1
21 - { echo "$as_me:$LINENO: result: no" >&5
22 -echo "${ECHO_T}no" >&6; }
25 -{ echo "$as_me:$LINENO: checking for /dev/ptc" >&5
26 -echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6; }
30 - { echo "$as_me:$LINENO: result: yes" >&5
31 -echo "${ECHO_T}yes" >&6; }
33 -cat >>confdefs.h <<\_ACEOF
34 -#define HAVE_DEV_PTC 1
38 - { echo "$as_me:$LINENO: result: no" >&5
39 -echo "${ECHO_T}no" >&6; }
44 @@ -22426,96 +22393,6 @@
48 -{ echo "$as_me:$LINENO: checking for %zd printf() format support" >&5
49 -echo $ECHO_N "checking for %zd printf() format support... $ECHO_C" >&6; }
50 -if test "$cross_compiling" = yes; then
51 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
52 -See \`config.log' for more details." >&5
53 -echo "$as_me: error: cannot run test program while cross compiling
54 -See \`config.log' for more details." >&2;}
55 - { (exit 1); exit 1; }; }
57 - cat >conftest.$ac_ext <<_ACEOF
60 -cat confdefs.h >>conftest.$ac_ext
61 -cat >>conftest.$ac_ext <<_ACEOF
62 -/* end confdefs.h. */
67 -#ifdef HAVE_SYS_TYPES_H
68 -#include <sys/types.h>
72 -typedef ssize_t Py_ssize_t;
73 -#elif SIZEOF_VOID_P == SIZEOF_LONG
74 -typedef long Py_ssize_t;
76 -typedef int Py_ssize_t;
83 - if(sprintf(buffer, "%zd", (size_t)123) < 0)
86 - if (strcmp(buffer, "123"))
89 - if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
92 - if (strcmp(buffer, "-123"))
98 -rm -f conftest$ac_exeext
99 -if { (ac_try="$ac_link"
101 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102 - *) ac_try_echo=$ac_try;;
104 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105 - (eval "$ac_link") 2>&5
107 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
108 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
109 - { (case "(($ac_try" in
110 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
111 - *) ac_try_echo=$ac_try;;
113 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
114 - (eval "$ac_try") 2>&5
116 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
117 - (exit $ac_status); }; }; then
118 - { echo "$as_me:$LINENO: result: yes" >&5
119 -echo "${ECHO_T}yes" >&6; }
121 -cat >>confdefs.h <<\_ACEOF
122 -#define PY_FORMAT_SIZE_T "z"
126 - echo "$as_me: program exited with status $ac_status" >&5
127 -echo "$as_me: failed program was:" >&5
128 -sed 's/^/| /' conftest.$ac_ext >&5
131 -{ echo "$as_me:$LINENO: result: no" >&5
132 -echo "${ECHO_T}no" >&6; }
134 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
139 { echo "$as_me:$LINENO: checking for socklen_t" >&5
140 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }