[Python-checkins] python/dist/src configure, 1.453,
1.454 configure.in, 1.466, 1.467
doko at users.sourceforge.net
doko at users.sourceforge.net
Mon Aug 16 13:35:53 CEST 2004
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20417
Modified Files:
configure configure.in
Log Message:
The attached patch fixes FTBFS on GNU/k*BSD. The problem happens on GNU/k*BSD
because GNU/k*BSD uses gnu pth to provide pthreads, but will also happen on any
system that does the same.
python fails to build because it doesn't detect gnu pth in pthread
emulation. See C comments in patch for details.
patch taken from http://bugs.debian.org/264315
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.453
retrieving revision 1.454
diff -C2 -d -r1.453 -r1.454
*** configure 15 Aug 2004 14:08:22 -0000 1.453
--- configure 16 Aug 2004 11:35:49 -0000 1.454
***************
*** 1,4 ****
#! /bin/sh
! # From configure.in Revision: 1.465 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.4.
--- 1,4 ----
#! /bin/sh
! # From configure.in Revision: 1.466 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.4.
***************
[...2833 lines suppressed...]
- { echo "$as_me:$LINENO: creating $ac_file" >&5
- echo "$as_me: creating $ac_file" >&6;}
- rm -f "$ac_file"
- fi
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
--- 20740,20743 ----
***************
*** 20990,20993 ****
--- 20778,20787 ----
esac
done` || { (exit 1); exit 1; }
+
+ if test x"$ac_file" != x-; then
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
+ echo "$as_me: creating $ac_file" >&6;}
+ rm -f "$ac_file"
+ fi
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.466
retrieving revision 1.467
diff -C2 -d -r1.466 -r1.467
*** configure.in 15 Aug 2004 14:08:23 -0000 1.466
--- configure.in 16 Aug 2004 11:35:50 -0000 1.467
***************
*** 1629,1633 ****
# According to the POSIX spec, a pthreads implementation must
! # define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?)
AC_MSG_CHECKING(for _POSIX_THREADS in unistd.h)
AC_EGREP_CPP(yes,
--- 1629,1634 ----
# According to the POSIX spec, a pthreads implementation must
! # define _POSIX_THREADS in unistd.h. Some apparently don't
! # (e.g. gnu pth with pthread emulation)
AC_MSG_CHECKING(for _POSIX_THREADS in unistd.h)
AC_EGREP_CPP(yes,
More information about the Python-checkins
mailing list