From 2086eaf79c9dc2992fef64392a9813e25f60696f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 27 Feb 2006 15:16:21 +0000 Subject: Check for a not-found rlconf.h by testing for None. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 149b940..5ff13c0 100644 --- a/setup.py +++ b/setup.py @@ -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'] -- cgit v0.12