Commits

Jed Brown  committed e13a55b Merge

Merge branch 'jed/configure-check-once'

* jed/configure-check-once:
config: test functions and headers only once

  • Participants
  • Parent commits 47b5edf, 8d170a4

Comments (0)

Files changed (2)

File config/BuildSystem/config/functions.py

       self.executeTest(self.checkSignalHandlerType)
     self.executeTest(self.checkFreeReturnType)
     self.executeTest(self.checkVariableArgumentLists)
-    map(lambda function: self.executeTest(self.check, function), self.functions)
+    map(lambda function: self.executeTest(self.check, function), set(self.functions))
     return

File config/BuildSystem/config/headers.py

     self.executeTest(self.checkSysWait)
     self.executeTest(self.checkTime)
     self.executeTest(self.checkMath)
-    map(lambda header: self.executeTest(self.check, header), self.headers)
+    map(lambda header: self.executeTest(self.check, header), set(self.headers))
     self.executeTest(self.checkRecursiveMacros)
     return