f215a586b9
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13824 3c298f89-4303-0410-b956-a3cf2f4a3e73
141 lines
3.4 KiB
Diff
141 lines
3.4 KiB
Diff
diff -Naur Python-2.5.4/configure Python-2.5.4-cross/configure
|
|
--- Python-2.5.4/configure 2008-12-13 15:13:52.000000000 +0100
|
|
+++ Python-2.5.4-cross/configure 2009-01-01 15:16:01.000000000 +0100
|
|
@@ -22326,39 +22326,6 @@
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
-{ echo "$as_me:$LINENO: checking for /dev/ptmx" >&5
|
|
-echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6; }
|
|
-
|
|
-if test -r /dev/ptmx
|
|
-then
|
|
- { echo "$as_me:$LINENO: result: yes" >&5
|
|
-echo "${ECHO_T}yes" >&6; }
|
|
-
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
-#define HAVE_DEV_PTMX 1
|
|
-_ACEOF
|
|
-
|
|
-else
|
|
- { echo "$as_me:$LINENO: result: no" >&5
|
|
-echo "${ECHO_T}no" >&6; }
|
|
-fi
|
|
-
|
|
-{ echo "$as_me:$LINENO: checking for /dev/ptc" >&5
|
|
-echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6; }
|
|
-
|
|
-if test -r /dev/ptc
|
|
-then
|
|
- { echo "$as_me:$LINENO: result: yes" >&5
|
|
-echo "${ECHO_T}yes" >&6; }
|
|
-
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
-#define HAVE_DEV_PTC 1
|
|
-_ACEOF
|
|
-
|
|
-else
|
|
- { echo "$as_me:$LINENO: result: no" >&5
|
|
-echo "${ECHO_T}no" >&6; }
|
|
-fi
|
|
|
|
case $MACHDEP in
|
|
darwin)
|
|
@@ -22426,96 +22393,6 @@
|
|
|
|
|
|
|
|
-{ echo "$as_me:$LINENO: checking for %zd printf() format support" >&5
|
|
-echo $ECHO_N "checking for %zd printf() format support... $ECHO_C" >&6; }
|
|
-if test "$cross_compiling" = yes; then
|
|
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
|
-See \`config.log' for more details." >&5
|
|
-echo "$as_me: error: cannot run test program while cross compiling
|
|
-See \`config.log' for more details." >&2;}
|
|
- { (exit 1); exit 1; }; }
|
|
-else
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-#include <stdio.h>
|
|
-#include <stddef.h>
|
|
-#include <string.h>
|
|
-
|
|
-#ifdef HAVE_SYS_TYPES_H
|
|
-#include <sys/types.h>
|
|
-#endif
|
|
-
|
|
-#ifdef HAVE_SSIZE_T
|
|
-typedef ssize_t Py_ssize_t;
|
|
-#elif SIZEOF_VOID_P == SIZEOF_LONG
|
|
-typedef long Py_ssize_t;
|
|
-#else
|
|
-typedef int Py_ssize_t;
|
|
-#endif
|
|
-
|
|
-int main()
|
|
-{
|
|
- char buffer[256];
|
|
-
|
|
- if(sprintf(buffer, "%zd", (size_t)123) < 0)
|
|
- return 1;
|
|
-
|
|
- if (strcmp(buffer, "123"))
|
|
- return 1;
|
|
-
|
|
- if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
|
|
- return 1;
|
|
-
|
|
- if (strcmp(buffer, "-123"))
|
|
- return 1;
|
|
-
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest$ac_exeext
|
|
-if { (ac_try="$ac_link"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
- (eval "$ac_link") 2>&5
|
|
- ac_status=$?
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
- { (case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
- (eval "$ac_try") 2>&5
|
|
- ac_status=$?
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; }; then
|
|
- { echo "$as_me:$LINENO: result: yes" >&5
|
|
-echo "${ECHO_T}yes" >&6; }
|
|
-
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
-#define PY_FORMAT_SIZE_T "z"
|
|
-_ACEOF
|
|
-
|
|
-else
|
|
- echo "$as_me: program exited with status $ac_status" >&5
|
|
-echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
-( exit $ac_status )
|
|
-{ echo "$as_me:$LINENO: result: no" >&5
|
|
-echo "${ECHO_T}no" >&6; }
|
|
-fi
|
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
-fi
|
|
-
|
|
-
|
|
|
|
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
|
|
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
|