]> granicus.if.org Git - python/commitdiff
Don't load the config.h file, even under Unix, because we never use the
authorGreg Ward <gward@python.net>
Wed, 19 Apr 2000 02:18:09 +0000 (02:18 +0000)
committerGreg Ward <gward@python.net>
Wed, 19 Apr 2000 02:18:09 +0000 (02:18 +0000)
information from config.h.  Code is still there in case someone in the
future needs to parse an autoconf-generated config.h file.

Lib/distutils/sysconfig.py

index f7c2e7832665d467142eb9edee4e5b1ba8c82d23..c6341c105d05c39c8ed50382771edcbe7f398655 100644 (file)
@@ -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)