summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/sysconfig.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-04-19 02:18:09 (GMT)
committerGreg Ward <gward@python.net>2000-04-19 02:18:09 (GMT)
commit434ef8fe942908c1c78a44271694f504eec4bc78 (patch)
tree4fb41d27bc627f186c9f537de565c6e14578dd65 /Lib/distutils/sysconfig.py
parentf70c6031495f885839f077f06858b33cd0c04d2b (diff)
downloadcpython-434ef8fe942908c1c78a44271694f504eec4bc78.zip
cpython-434ef8fe942908c1c78a44271694f504eec4bc78.tar.gz
cpython-434ef8fe942908c1c78a44271694f504eec4bc78.tar.bz2
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 f7c2e78..c6341c1 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)