This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: check for true in diffrent paths, -pthread support
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: loewis, marc
Priority: normal Keywords: patch

Created on 2003-05-24 15:52 by marc, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
configure.in.diff.bz2 marc, 2003-05-24 15:52 configure.in patch
configure.in-2.diff.gz marc, 2003-05-25 13:22 configure.in patch
Messages (5)
msg43841 - (view) Author: Marc Recht (marc) Date: 2003-05-24 15:52
This patch fixes/adds two things in configure.in
1) add support for the "-pthread" CC flag . (Tested on
NetBSD-current, should work on FreeBSD and Linux, too)
2) /bin/true isn't available on NetBSD, so check for it
in different places.
msg43842 - (view) Author: Marc Recht (marc) Date: 2003-05-24 15:54
Logged In: YES 
user_id=205

Forgot to mention that it's against Python 2.3cvs
msg43843 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-05-24 17:39
Logged In: YES 
user_id=21627

I just noticed a problem with the entire -Kthread/-Kpthread
approach: there are specific additional checks needed for
pthreads, e.g. for SCOPE_SYSTEM, for various Solaris
versions, etc. Those need to happen independently of the
means to activate threads. Would you please revise your
patch to address this issue as well?
msg43844 - (view) Author: Marc Recht (marc) Date: 2003-05-25 13:22
Logged In: YES 
user_id=205

Seperated some pthread related checks. They're happen now
after the detection of the thread library and only if
"$posix_threads" = "yes".
msg43845 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-05-26 05:38
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as

configure 1.401
configure.in 1.412
History
Date User Action Args
2022-04-10 16:08:52adminsetgithub: 38544
2003-05-24 15:52:07marccreate