|
@@ -1,229 +0,0 @@
|
|
|
---- Python-3.1.1.orig/configure 2009-06-08 23:22:57.000000000 +0200
|
|
|
-+++ Python-3.1.1/configure 2009-09-16 20:33:23.000000000 +0200
|
|
|
-@@ -17204,141 +17204,6 @@ fi
|
|
|
- fi
|
|
|
-
|
|
|
-
|
|
|
--# On Tru64, chflags seems to be present, but calling it will
|
|
|
--# exit Python
|
|
|
--{ echo "$as_me:$LINENO: checking for chflags" >&5
|
|
|
--echo $ECHO_N "checking for chflags... $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 <sys/stat.h>
|
|
|
--#include <unistd.h>
|
|
|
--int main(int argc, char*argv[])
|
|
|
--{
|
|
|
-- if(chflags(argv[0], 0) != 0)
|
|
|
-- 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
|
|
|
--
|
|
|
--cat >>confdefs.h <<\_ACEOF
|
|
|
--#define HAVE_CHFLAGS 1
|
|
|
--_ACEOF
|
|
|
--
|
|
|
-- { echo "$as_me:$LINENO: result: yes" >&5
|
|
|
--echo "${ECHO_T}yes" >&6; }
|
|
|
--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 lchflags" >&5
|
|
|
--echo $ECHO_N "checking for lchflags... $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 <sys/stat.h>
|
|
|
--#include <unistd.h>
|
|
|
--int main(int argc, char*argv[])
|
|
|
--{
|
|
|
-- if(lchflags(argv[0], 0) != 0)
|
|
|
-- 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
|
|
|
--
|
|
|
--cat >>confdefs.h <<\_ACEOF
|
|
|
--#define HAVE_LCHFLAGS 1
|
|
|
--_ACEOF
|
|
|
--
|
|
|
-- { echo "$as_me:$LINENO: result: yes" >&5
|
|
|
--echo "${ECHO_T}yes" >&6; }
|
|
|
--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
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-@@ -22435,84 +22300,6 @@ fi
|
|
|
-
|
|
|
- LIBS=$LIBS_SAVE
|
|
|
-
|
|
|
--# Multiprocessing check for broken sem_getvalue
|
|
|
--{ echo "$as_me:$LINENO: checking for broken sem_getvalue" >&5
|
|
|
--echo $ECHO_N "checking for broken sem_getvalue... $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 <unistd.h>
|
|
|
--#include <fcntl.h>
|
|
|
--#include <stdio.h>
|
|
|
--#include <semaphore.h>
|
|
|
--#include <sys/stat.h>
|
|
|
--
|
|
|
--int main(void){
|
|
|
-- sem_t *a = sem_open("/autoconf", O_CREAT, S_IRUSR|S_IWUSR, 0);
|
|
|
-- int count;
|
|
|
-- int res;
|
|
|
-- if(a==SEM_FAILED){
|
|
|
-- perror("sem_open");
|
|
|
-- return 1;
|
|
|
--
|
|
|
-- }
|
|
|
-- res = sem_getvalue(a, &count);
|
|
|
-- sem_close(a);
|
|
|
-- return res==-1 ? 1 : 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: no" >&5
|
|
|
--echo "${ECHO_T}no" >&6; }
|
|
|
--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: yes" >&5
|
|
|
--echo "${ECHO_T}yes" >&6; }
|
|
|
--
|
|
|
--cat >>confdefs.h <<\_ACEOF
|
|
|
--#define HAVE_BROKEN_SEM_GETVALUE 1
|
|
|
--_ACEOF
|
|
|
--
|
|
|
--
|
|
|
--fi
|
|
|
--rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
--fi
|
|
|
-
|
|
|
-
|
|
|
-
|