[Python-checkins] python/dist/src/Lib/distutils/command config.py,1.10,1.10.6.1
mwh@users.sourceforge.net
mwh@users.sourceforge.net
Tue, 24 Sep 2002 04:22:30 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv5527
Modified Files:
Tag: release22-maint
config.py
Log Message:
backport akuchling's checkin of
revision 1.12 of config.py
Include an empty body when checking for a header file
(Bugfix candidate for 2.2, and likely 2.1 as well)
Index: config.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/config.py,v
retrieving revision 1.10
retrieving revision 1.10.6.1
diff -C2 -d -r1.10 -r1.10.6.1
*** config.py 6 Dec 2001 20:57:12 -0000 1.10
--- config.py 24 Sep 2002 11:22:28 -0000 1.10.6.1
***************
*** 349,353 ****
false otherwise.
"""
! return self.try_cpp(headers=[header], include_dirs=include_dirs)
--- 349,354 ----
false otherwise.
"""
! return self.try_cpp(body="/* No body */", headers=[header],
! include_dirs=include_dirs)