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

SourceForge.net noreply at sourceforge.net
Sat Sep 20 06:48:26 EDT 2003


Patches item #805604, was opened at 2003-09-13 15:56
Message generated for change (Comment added) 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: Closed
>Resolution: Accepted
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.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2003-09-20 12:48

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as



configure 1.422

configure.in 1.433

configure 1.416.4.4

configure.in 1.427.4.4



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

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