Commit 2086eaf7 authored by Martin v. Löwis's avatar Martin v. Löwis

Check for a not-found rlconf.h by testing for None.

parent 322a23f2
......@@ -452,7 +452,7 @@ class PyBuildExt(build_ext):
# 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']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment