[Patches] [ python-Patches-805604 ] fix --without-threads

SourceForge.net noreply at sourceforge.net
Thu Sep 18 14:51:49 EDT 2003


Patches item #805604, was opened at 2003-09-13 15:56
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=805604&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Marc Recht (marc)
>Assigned to: Martin v. Löwis (loewis)
Summary: fix --without-threads

Initial Comment:
Currently, Pyhton builds always against libpthread on

systems that have sem_init in libpthread. Even if

configure was invoked --without-threads. The patch

changes this behaviour to only check for sem_init if

python will be built with threads (with_threads = "yes

or empty).

Second, on systems that support a compiler switch for

thread support (eg. -pthread) and have C++ support CXX

will always set to CXX + flag, even in the unthreaded

case. The patch fixes that.



The patch is against release23-maint.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=805604&group_id=5470



More information about the Patches mailing list