@@ -73,7 +73,7 @@ def __init__ (self,
7373 (status , details ))
7474 if status is not CONFIG_H_OK :
7575 self .warn (
76- "Python's config .h doesn't seem to support your compiler. " +
76+ "Python's pyconfig .h doesn't seem to support your compiler. " +
7777 ("Reason: %s." % details ) +
7878 "Compiling may fail because of undefined preprocessor macros." )
7979
@@ -335,7 +335,7 @@ def __init__ (self,
335335
336336# class Mingw32CCompiler
337337
338- # Because these compilers aren't configured in Python's config .h file by
338+ # Because these compilers aren't configured in Python's pyconfig .h file by
339339# default, we should at least warn the user if he is using a unmodified
340340# version.
341341
@@ -345,29 +345,29 @@ def __init__ (self,
345345
346346def check_config_h ():
347347
348- """Check if the current Python installation (specifically, config .h)
348+ """Check if the current Python installation (specifically, pyconfig .h)
349349 appears amenable to building extensions with GCC. Returns a tuple
350350 (status, details), where 'status' is one of the following constants:
351351 CONFIG_H_OK
352352 all is well, go ahead and compile
353353 CONFIG_H_NOTOK
354354 doesn't look good
355355 CONFIG_H_UNCERTAIN
356- not sure -- unable to read config .h
356+ not sure -- unable to read pyconfig .h
357357 'details' is a human-readable string explaining the situation.
358358
359359 Note there are two ways to conclude "OK": either 'sys.version' contains
360360 the string "GCC" (implying that this Python was built with GCC), or the
361- installed "config .h" contains the string "__GNUC__".
361+ installed "pyconfig .h" contains the string "__GNUC__".
362362 """
363363
364364 # XXX since this function also checks sys.version, it's not strictly a
365- # "config .h" check -- should probably be renamed...
365+ # "pyconfig .h" check -- should probably be renamed...
366366
367367 from distutils import sysconfig
368368 import string
369369 # if sys.version contains GCC then python was compiled with
370- # GCC, and the config .h file should be OK
370+ # GCC, and the pyconfig .h file should be OK
371371 if string .find (sys .version ,"GCC" ) >= 0 :
372372 return (CONFIG_H_OK , "sys.version mentions 'GCC'" )
373373
@@ -386,7 +386,7 @@ def check_config_h():
386386 "couldn't read '%s': %s" % (fn , exc .strerror ))
387387
388388 else :
389- # "config .h" contains an "#ifdef __GNUC__" or something similar
389+ # "pyconfig .h" contains an "#ifdef __GNUC__" or something similar
390390 if string .find (s ,"__GNUC__" ) >= 0 :
391391 return (CONFIG_H_OK , "'%s' mentions '__GNUC__'" % fn )
392392 else :
0 commit comments