diff --git a/configure b/configure
index c8996b0b4a18d9..06f1f9a0d32c9c 100755
--- a/configure
+++ b/configure
@@ -1358,8 +1358,7 @@ if options.prefix:
 
 config = '\n'.join(map('='.join, config.iteritems())) + '\n'
 
-write('config.mk',
-      '# Do not edit. Generated by the configure script.\n' + config)
+write('config.mk', do_not_edit + config)
 
 gyp_args = [sys.executable, 'tools/gyp_node.py', '--no-parallel']