Browse Source

rename the check_hook function to set_check_hook in the AutoOption class to prevent name clash

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
f98fdba3d9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wscript

+ 1
- 1
wscript View File

@@ -187,7 +187,7 @@ class AutoOption:
var = program.upper().replace('-', '_')
self.programs.append([program, var])

def check_hook(self, check_hook, check_hook_error):
def set_check_hook(self, check_hook, check_hook_error):
"""
Add a check hook and a corresponding error printing function to the
configure step. The check_hook argument is a function that should return


Loading…
Cancel
Save