[Python-checkins] CVS: python/dist/src setup.py,1.10,1.11
Martin v. Löwis
loewis@users.sourceforge.net
Sun, 21 Jan 2001 02:54:55 -0800
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv20580
Modified Files:
setup.py
Log Message:
Check for None to decide when pyexpat should not be built.
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** setup.py 2001/01/19 16:58:21 1.10
--- setup.py 2001/01/21 10:54:52 1.11
***************
*** 406,410 ****
expat_incs = find_file('xmlparse.h', inc_dirs, [])
! if (expat_incs and
self.compiler.find_library_file(lib_dirs, 'expat')):
exts.append( Extension('pyexpat', ['pyexpat.c'],
--- 406,410 ----
expat_incs = find_file('xmlparse.h', inc_dirs, [])
! if (expat_incs is not None and
self.compiler.find_library_file(lib_dirs, 'expat')):
exts.append( Extension('pyexpat', ['pyexpat.c'],