summaryrefslogtreecommitdiff
path: root/Lib/distutils/sysconfig.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-04-19 02:18:09 +0000
committerGreg Ward <gward@python.net>2000-04-19 02:18:09 +0000
commit434ef8fe942908c1c78a44271694f504eec4bc78 (patch)
tree4fb41d27bc627f186c9f537de565c6e14578dd65 /Lib/distutils/sysconfig.py
parentf70c6031495f885839f077f06858b33cd0c04d2b (diff)
downloadcpython-git-434ef8fe942908c1c78a44271694f504eec4bc78.tar.gz
Don't load the config.h file, even under Unix, because we never use the
information from config.h. Code is still there in case someone in the future needs to parse an autoconf-generated config.h file.
Diffstat (limited to 'Lib/distutils/sysconfig.py')
-rw-r--r--Lib/distutils/sysconfig.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index f7c2e78326..c6341c105d 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -213,8 +213,6 @@ def parse_makefile(fp, g=None):
def _init_posix():
"""Initialize the module as appropriate for POSIX systems."""
g = globals()
- # load the installed config.h:
- parse_config_h(open(get_config_h_filename()), g)
# load the installed Makefile:
parse_makefile(open(get_makefile_filename()), g)