[Python-checkins] r81800 - python/branches/py3k-cdecimal/setup.py
stefan.krah
python-checkins at python.org
Mon Jun 7 15:36:57 CEST 2010
Author: stefan.krah
Date: Mon Jun 7 15:36:56 2010
New Revision: 81800
Log:
Use WITH_THREAD
Modified:
python/branches/py3k-cdecimal/setup.py
Modified: python/branches/py3k-cdecimal/setup.py
==============================================================================
--- python/branches/py3k-cdecimal/setup.py (original)
+++ python/branches/py3k-cdecimal/setup.py Mon Jun 7 15:36:56 2010
@@ -1751,7 +1751,7 @@
else:
raise DistutilsError("cdecimal: unsupported architecture")
# Faster version without thread local contexts:
- if '--without-threads' in sysconfig.get_config_var('CONFIG_ARGS'):
+ if not sysconfig.get_config_var('WITH_THREAD'):
define_macros.append(('WITHOUT_THREADS', 1))
if 'sunos' in platform and cc == 'cc': # suncc
extra_compile_args.extend(['-erroff=E_ARGUEMENT_MISMATCH']) # [sic]
More information about the Python-checkins
mailing list