diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 15:16:21 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 15:16:21 (GMT) |
commit | 2086eaf79c9dc2992fef64392a9813e25f60696f (patch) | |
tree | 2b2aa762db32ade74b34e87ebb01ebdf6565391f | |
parent | 322a23f21b78ffbdf4da3330082a04db093af0af (diff) | |
download | cpython-2086eaf79c9dc2992fef64392a9813e25f60696f.zip cpython-2086eaf79c9dc2992fef64392a9813e25f60696f.tar.gz cpython-2086eaf79c9dc2992fef64392a9813e25f60696f.tar.bz2 |
Check for a not-found rlconf.h by testing for None.
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'] |