[Python-checkins] r42588 - python/trunk/setup.py
martin.v.loewis
python-checkins at python.org
Mon Feb 27 16:16:22 CET 2006
Author: martin.v.loewis
Date: Mon Feb 27 16:16:21 2006
New Revision: 42588
Modified:
python/trunk/setup.py
Log:
Check for a not-found rlconf.h by testing for None.
Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py (original)
+++ python/trunk/setup.py Mon Feb 27 16:16:21 2006
@@ -452,7 +452,7 @@
# MacOSX 10.4 has a broken readline. Don't try to build
# the readline module unless the user has installed a fixed
# readline package
- if not find_file('readline/rlconf.h', inc_dirs, []):
+ if find_file('readline/rlconf.h', inc_dirs, []) is None:
do_readline = False
if do_readline:
readline_libs = ['readline']
More information about the Python-checkins
mailing list