config.suffixes = ['.ll', '.c', '.cpp', '.ml'] def getRoot(config): if not config.parent: return config return getRoot(config.parent) root = getRoot(config) bindings = set([s.strip() for s in root.llvm_bindings.split(',')]) if not 'ocaml' in bindings: config.unsupported = True