diff setup.py @ 16078:91a63df7eee4 legacy-trunk

Check for None to decide when pyexpat should not be built.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 21 Jan 2001 10:54:52 +0000
parents b6863ba88989
children ae296229f426
line wrap: on
line diff
--- a/setup.py	Sun Jan 21 10:22:12 2001 +0000
+++ b/setup.py	Sun Jan 21 10:54:52 2001 +0000
@@ -405,7 +405,7 @@
         else:
             expat_incs = find_file('xmlparse.h', inc_dirs, [])
             
-        if (expat_incs and
+        if (expat_incs is not None and
             self.compiler.find_library_file(lib_dirs, 'expat')):
             exts.append( Extension('pyexpat', ['pyexpat.c'],
                                    define_macros = expat_defs,