Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.

This commit is contained in:
Martin v. Löwis 2001-07-26 13:41:06 +00:00
parent 4eb5940a4d
commit 4f1cd8bdcb
31 changed files with 320 additions and 320 deletions

View file

@ -43,7 +43,7 @@ def get_python_inc(plat_specific=0, prefix=None):
If 'plat_specific' is false (the default), this is the path to the
non-platform-specific header files, i.e. Python.h and so on;
otherwise, this is the path to platform-specific header files
(namely config.h).
(namely pyconfig.h).
If 'prefix' is supplied, use it instead of sys.prefix or
sys.exec_prefix -- i.e., ignore 'plat_specific'.
@ -137,10 +137,10 @@ def customize_compiler(compiler):
def get_config_h_filename():
"""Return full pathname of installed config.h file."""
"""Return full pathname of installed pyconfig.h file."""
if python_build: inc_dir = '.'
else: inc_dir = get_python_inc(plat_specific=1)
return os.path.join(inc_dir, "config.h")
return os.path.join(inc_dir, "pyconfig.h")
def get_makefile_filename():