Added 'debug_print()'.
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py
index 141af79..ce3f2be 100644
--- a/Lib/distutils/ccompiler.py
+++ b/Lib/distutils/ccompiler.py
@@ -783,6 +783,11 @@
         if self.verbose >= level:
             print msg
 
+    def debug_print (self, msg):
+        from distutils.core import DEBUG
+        if DEBUG:
+            print msg
+
     def warn (self, msg):
         sys.stderr.write ("warning: %s\n" % msg)